mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-28 21:46:02 +03:00
Corrected mailbox name in test, as well as number of messages in main inbox
This commit is contained in:
parent
10ec1b6a97
commit
6ad9945817
@ -84,7 +84,7 @@ class ServerTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$server = Static::getServer();
|
||||
$numMessages = $server->numMessages();
|
||||
$this->assertEquals(21, $numMessages);
|
||||
$this->assertEquals(11, $numMessages);
|
||||
}
|
||||
|
||||
public function testGetMessages()
|
||||
@ -103,7 +103,7 @@ class ServerTest extends \PHPUnit_Framework_TestCase
|
||||
$server = Static::getServer();
|
||||
|
||||
$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"');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user