Skip to content

Commit

Permalink
Update centrifugo-config.json and smoke_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed May 5, 2024
1 parent 1fd3637 commit 497deea
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion centrifugo-config.json
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
{}
{
"admin": true,
"admin_insecure": true,
"namespaces": [
{
"name": "public",
"presence": true,
"join_leave": true,
"force_push_join_leave": true,
"history_size": 10,
"history_ttl": "300s",
"force_recovery": true,
"allow_subscribe_for_client": true,
"allow_subscribe_for_anonymous": true,
"allow_publish_for_subscriber": true,
"allow_publish_for_anonymous": true,
"allow_history_for_subscriber": true,
"allow_history_for_anonymous": true,
"allow_presence_for_subscriber": true,
"allow_presence_for_anonymous": true
}
]
}
2 changes: 1 addition & 1 deletion test/smoke/smoke_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void main() {
final client = Spinify();
await client.connect(url);
expect(client.state, isA<SpinifyState$Connected>());
await client.ping();
//await client.ping();
//await client.send(utf8.encode('Hello, Spinify!'));
await client.disconnect();
expect(client.state, isA<SpinifyState$Disconnected>());
Expand Down

0 comments on commit 497deea

Please sign in to comment.