Skip to content

Commit 7a018dd

Browse files
committed
test: close conn from server
1 parent 463fdea commit 7a018dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/realtime_client/test/mock_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,7 @@ void main() {
288288
channel.subscribe(subscribeCallback);
289289

290290
await Future.delayed(Duration(milliseconds: 200));
291-
await client.conn!.sink
292-
.close(Constants.wsCloseNormal, "heartbeat timeout");
291+
await webSocket?.close(Constants.wsCloseNormal, "heartbeat timeout");
293292
});
294293
});
295294

0 commit comments

Comments
 (0)