Skip to content

Commit

Permalink
Removes obsolete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsroka committed Aug 27, 2024
1 parent 79c0e99 commit 73abfde
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/channel_integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<ChannelClosedError>()),
);
});

test('timeout on send message will throw', () async {
final socket = PhoenixSocket(addr);
await socket.connect();
Expand Down

0 comments on commit 73abfde

Please sign in to comment.