summaryrefslogtreecommitdiff
path: root/tests/plugins/websockets/websocket_plugin_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-21 09:54:52 +0300
committerValery Piashchynski <[email protected]>2021-06-21 09:54:52 +0300
commit87d023d32feef5fe28c9bb65a796deb77d536b15 (patch)
tree31cde0b4d26a93ef5e674f602172b0a0f64afc28 /tests/plugins/websockets/websocket_plugin_test.go
parent591b69be9279158cfe9e7083152d308c4ee480b7 (diff)
Correct Websockets test namev2.3.1-beta.4
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/websockets/websocket_plugin_test.go')
-rw-r--r--tests/plugins/websockets/websocket_plugin_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/websockets/websocket_plugin_test.go b/tests/plugins/websockets/websocket_plugin_test.go
index 29bf28be..5ed0c3f3 100644
--- a/tests/plugins/websockets/websocket_plugin_test.go
+++ b/tests/plugins/websockets/websocket_plugin_test.go
@@ -30,7 +30,7 @@ import (
"github.com/stretchr/testify/assert"
)
-func TestBroadcastInit(t *testing.T) {
+func TestWebsocketsInit(t *testing.T) {
cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
@@ -756,7 +756,7 @@ func RPCWsPub(port string) func(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "{\"topic\":\"foo\",\"payload\":\"hello, PHP\"}", retMsg)
- // //// LEAVE foo, foo2 /////////
+ // //// LEAVE foo /////////
d, err = json.Marshal(messageWS("leave", []byte("hello websockets"), "foo"))
if err != nil {
panic(err)