From 0ce28beba11707e394c806775b5765d26dece4d0 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 3 Nov 2020 16:16:13 +0100 Subject: Remove dead methods from the Mailbox class Signed-off-by: Christoph Wurst --- tests/Integration/IMAP/AbstractTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/Integration') 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; -- cgit v1.2.3