diff --git a/test/channel_integration_test.dart b/test/channel_integration_test.dart index 9a67a8f..cddd3d1 100644 --- a/test/channel_integration_test.dart +++ b/test/channel_integration_test.dart @@ -442,20 +442,6 @@ void main() { ); }); - test('Pushing message on a closed channel throws exception', () async { - final socket = PhoenixSocket(addr); - await socket.connect(); - final channel = socket.addChannel(topic: 'channel3'); - - await channel.join().future; - await channel.leave().future; - - expect( - () => channel.push('EventName', {}), - throwsA(isA()), - ); - }); - test('timeout on send message will throw', () async { final socket = PhoenixSocket(addr); await socket.connect();