Skip to content

Commit 3f5de67

Browse files
PerondasPerondas
Perondas
authored and
Perondas
committed
Fixed tests
1 parent a2f0d9e commit 3f5de67

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_sip_ua.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() {
1212
Completer<dynamic> completer = Completer<dynamic>();
1313
config.Settings configuration = config.Settings();
1414
configuration.sockets = <WebSocketInterface>[
15-
WebSocketInterface('ws://127.0.0.1:5070/sip')
15+
WebSocketInterface('ws://127.0.0.1:5070/sip', messageDelay: 0)
1616
];
1717
configuration.authorization_user = '100';
1818
configuration.password = '100';

test/test_websocket.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ List<void Function()> testFunctions = <void Function()>[
2929
});
3030

3131
WebSocketInterface client =
32-
WebSocketInterface('ws://127.0.0.1:4040/sip');
32+
WebSocketInterface('ws://127.0.0.1:4040/sip', messageDelay: 0);
3333

3434
expect(client.url, 'ws://127.0.0.1:4040/sip');
3535
expect(client.via_transport, 'WS');
@@ -77,7 +77,7 @@ List<void Function()> testFunctions = <void Function()>[
7777
}
7878
});
7979
WebSocketInterface socket =
80-
WebSocketInterface('ws://127.0.0.1:4041/sip');
80+
WebSocketInterface('ws://127.0.0.1:4041/sip', messageDelay: 0);
8181
Transport trasnport = Transport(<WebSocketInterface>[socket]);
8282

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

0 commit comments

Comments
 (0)