We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 937727e commit df9f6a6Copy full SHA for df9f6a6
tests/Unit/Connection/ImapConnectionTest.php
@@ -3,6 +3,7 @@
3
use DirectoryTree\ImapEngine\Connection\ImapConnection;
4
use DirectoryTree\ImapEngine\Connection\Streams\FakeStream;
5
use DirectoryTree\ImapEngine\Exceptions\ImapCommandException;
6
+use DirectoryTree\ImapEngine\Exceptions\ImapConnectionException;
7
use DirectoryTree\ImapEngine\Exceptions\ImapConnectionFailedException;
8
use DirectoryTree\ImapEngine\Exceptions\ImapParserException;
9
use DirectoryTree\ImapEngine\Support\Str;
@@ -681,7 +682,7 @@
681
682
683
expect(function () use ($connection) {
684
iterator_to_array($connection->idle(30));
- })->toThrow(ImapParserException::class);
685
+ })->toThrow(ImapConnectionException::class);
686
687
$stream->assertWritten('TAG1 IDLE');
688
});
0 commit comments