diff --git a/composer.json b/composer.json index 3ae363f..fad0f80 100644 --- a/composer.json +++ b/composer.json @@ -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" diff --git a/tests/Fetch/Test/ServerTest.php b/tests/Fetch/Test/ServerTest.php index 4d96247..0d854ad 100644 --- a/tests/Fetch/Test/ServerTest.php +++ b/tests/Fetch/Test/ServerTest.php @@ -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()