From 3f5de6740ae4f9effee73eaaaab998657622b413 Mon Sep 17 00:00:00 2001 From: Perondas Date: Mon, 20 Feb 2023 13:51:25 +0100 Subject: [PATCH] Fixed tests --- test/test_sip_ua.dart | 2 +- test/test_websocket.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_sip_ua.dart b/test/test_sip_ua.dart index fbe96523..eaa72871 100644 --- a/test/test_sip_ua.dart +++ b/test/test_sip_ua.dart @@ -12,7 +12,7 @@ void main() { Completer completer = Completer(); config.Settings configuration = config.Settings(); configuration.sockets = [ - 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'; diff --git a/test/test_websocket.dart b/test/test_websocket.dart index 3f776e4a..2d733aaf 100644 --- a/test/test_websocket.dart +++ b/test/test_websocket.dart @@ -29,7 +29,7 @@ List testFunctions = [ }); 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'); @@ -77,7 +77,7 @@ List testFunctions = [ } }); WebSocketInterface socket = - WebSocketInterface('ws://127.0.0.1:4041/sip'); + WebSocketInterface('ws://127.0.0.1:4041/sip', messageDelay: 0); Transport trasnport = Transport([socket]); trasnport.onconnecting = (WebSocketInterface? socket, int? attempt) {