diff options
Diffstat (limited to 'tests/Integration/IMAP/AbstractTest.php')
-rw-r--r-- | tests/Integration/IMAP/AbstractTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/Integration/IMAP/AbstractTest.php b/tests/Integration/IMAP/AbstractTest.php index 2d28c9702..bbaaddf46 100644 --- a/tests/Integration/IMAP/AbstractTest.php +++ b/tests/Integration/IMAP/AbstractTest.php @@ -105,9 +105,8 @@ abstract class AbstractTest extends TestCase { * @param string $name */ public function existsMailBox($name) { - $mb = $this->getTestAccount()->getMailbox($name); try { - $mb->getStatus(); + self::$account->getImapConnection()->status($name); return true; } catch (Exception $ex) { return false; |