summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/websockets/configs/.rr-websockets-init.yaml4
-rw-r--r--tests/plugins/websockets/websocket_plugin_test.go4
2 files changed, 2 insertions, 6 deletions
diff --git a/tests/plugins/websockets/configs/.rr-websockets-init.yaml b/tests/plugins/websockets/configs/.rr-websockets-init.yaml
index 14472f8a..115f9a71 100644
--- a/tests/plugins/websockets/configs/.rr-websockets-init.yaml
+++ b/tests/plugins/websockets/configs/.rr-websockets-init.yaml
@@ -19,10 +19,6 @@ http:
allocate_timeout: 60s
destroy_timeout: 60s
-redis:
- addrs:
- - "localhost:6379"
-
broadcast:
default:
driver: memory
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)