Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Perondas authored and Perondas committed Feb 20, 2023
1 parent a2f0d9e commit 3f5de67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/test_sip_ua.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void main() {
Completer<dynamic> completer = Completer<dynamic>();
config.Settings configuration = config.Settings();
configuration.sockets = <WebSocketInterface>[
WebSocketInterface('ws://127.0.0.1:5070/sip')
WebSocketInterface('ws://127.0.0.1:5070/sip', messageDelay: 0)
];
configuration.authorization_user = '100';
configuration.password = '100';
Expand Down
4 changes: 2 additions & 2 deletions test/test_websocket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ List<void Function()> testFunctions = <void Function()>[
});

WebSocketInterface client =
WebSocketInterface('ws://127.0.0.1:4040/sip');
WebSocketInterface('ws://127.0.0.1:4040/sip', messageDelay: 0);

expect(client.url, 'ws://127.0.0.1:4040/sip');
expect(client.via_transport, 'WS');
Expand Down Expand Up @@ -77,7 +77,7 @@ List<void Function()> testFunctions = <void Function()>[
}
});
WebSocketInterface socket =
WebSocketInterface('ws://127.0.0.1:4041/sip');
WebSocketInterface('ws://127.0.0.1:4041/sip', messageDelay: 0);
Transport trasnport = Transport(<WebSocketInterface>[socket]);

trasnport.onconnecting = (WebSocketInterface? socket, int? attempt) {
Expand Down

0 comments on commit 3f5de67

Please sign in to comment.