diff --git a/tests/MailboxHandlerTest.php b/tests/MailboxHandlerTest.php new file mode 100644 index 00000000..a6b53012 --- /dev/null +++ b/tests/MailboxHandlerTest.php @@ -0,0 +1,24 @@ +getList(""); + + $this->assertTrue($list); + + + $results = $x->result(); + + $this->assertEmpty($results); + + $this->assertFalse($x->checkPasswordRecoveryCode('test', 'fake')); + + $token = $x->getPasswordRecoveryCode('test.peraon.does.not.exist@example.com'); + + $this->assertFalse($token); + } +} + +/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */