Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Feature/Backends/IMAPTest.php
Show All 29 Lines | class IMAPTest extends TestCase | ||||
* @group imap | * @group imap | ||||
*/ | */ | ||||
public function testVerifyAccountNonExisting(): void | public function testVerifyAccountNonExisting(): void | ||||
{ | { | ||||
$this->expectException(\Exception::class); | $this->expectException(\Exception::class); | ||||
IMAP::verifyAccount('non-existing@domain.tld'); | IMAP::verifyAccount('non-existing@domain.tld'); | ||||
} | } | ||||
/** | |||||
* Test verifying IMAP shared folder existence | |||||
* | |||||
* @group imap | |||||
*/ | |||||
public function testVerifySharedFolder(): void | |||||
{ | |||||
$result = IMAP::verifySharedFolder('shared/Resources/UnknownResource@kolab.org'); | |||||
$this->assertFalse($result); | |||||
// TODO: Test with an existing shared folder | |||||
$this->markTestIncomplete(); | |||||
} | |||||
} | } |