Corrected mailbox name in test, as well as number of messages in main inbox

This commit is contained in:
Robert Hafner 2013-12-08 17:17:07 -08:00
parent 10ec1b6a97
commit 6ad9945817

View File

@ -84,7 +84,7 @@ class ServerTest extends \PHPUnit_Framework_TestCase
{ {
$server = Static::getServer(); $server = Static::getServer();
$numMessages = $server->numMessages(); $numMessages = $server->numMessages();
$this->assertEquals(21, $numMessages); $this->assertEquals(11, $numMessages);
} }
public function testGetMessages() public function testGetMessages()
@ -103,7 +103,7 @@ class ServerTest extends \PHPUnit_Framework_TestCase
$server = Static::getServer(); $server = Static::getServer();
$this->assertTrue($server->hasMailBox('Sent'), 'Has mailbox "Sent"'); $this->assertTrue($server->hasMailBox('Sent'), 'Has mailbox "Sent"');
$this->assertTrue($server->hasMailBox('Flagged Emails'), 'Has mailbox "Flagged Email"'); $this->assertTrue($server->hasMailBox('Flagged Email'), 'Has mailbox "Flagged Email"');
$this->assertFalse($server->hasMailBox('Cheese'), 'Does not have mailbox "Cheese"'); $this->assertFalse($server->hasMailBox('Cheese'), 'Does not have mailbox "Cheese"');
} }