Updated to latest version of the DovecotTesting Package

This commit is contained in:
Robert Hafner 2014-04-16 00:45:44 -07:00
parent 3c900abb37
commit 767a9f0083
2 changed files with 4 additions and 2 deletions

View File

@ -15,7 +15,7 @@
"php": ">=5.3.0"
},
"require-dev": {
"tedivm/dovecottesting": "1.2.1",
"tedivm/dovecottesting": "1.2.2",
"phpunit/phpunit": "4.0.*",
"fabpot/php-cs-fixer": "0.4.0",
"satooshi/php-coveralls": "dev-master"

View File

@ -19,6 +19,8 @@ use Fetch\Server;
*/
class ServerTest extends \PHPUnit_Framework_TestCase
{
static $num_messages_inbox = 12;
/**
* @dataProvider flagsDataProvider
* @param string $expected server string with %host% placeholder
@ -97,7 +99,7 @@ class ServerTest extends \PHPUnit_Framework_TestCase
{
$server = Static::getServer();
$numMessages = $server->numMessages();
$this->assertEquals(11, $numMessages);
$this->assertEquals(self::$num_messages_inbox, $numMessages);
}
public function testGetMessages()