Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Integration/IMAP/AbstractTest.php')
-rw-r--r--tests/Integration/IMAP/AbstractTest.php3
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;