mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-25 12:36:01 +03:00
Updated to latest version of the DovecotTesting Package
This commit is contained in:
parent
3c900abb37
commit
767a9f0083
@ -15,7 +15,7 @@
|
|||||||
"php": ">=5.3.0"
|
"php": ">=5.3.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"tedivm/dovecottesting": "1.2.1",
|
"tedivm/dovecottesting": "1.2.2",
|
||||||
"phpunit/phpunit": "4.0.*",
|
"phpunit/phpunit": "4.0.*",
|
||||||
"fabpot/php-cs-fixer": "0.4.0",
|
"fabpot/php-cs-fixer": "0.4.0",
|
||||||
"satooshi/php-coveralls": "dev-master"
|
"satooshi/php-coveralls": "dev-master"
|
||||||
|
@ -19,6 +19,8 @@ use Fetch\Server;
|
|||||||
*/
|
*/
|
||||||
class ServerTest extends \PHPUnit_Framework_TestCase
|
class ServerTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
static $num_messages_inbox = 12;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider flagsDataProvider
|
* @dataProvider flagsDataProvider
|
||||||
* @param string $expected server string with %host% placeholder
|
* @param string $expected server string with %host% placeholder
|
||||||
@ -97,7 +99,7 @@ class ServerTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$server = Static::getServer();
|
$server = Static::getServer();
|
||||||
$numMessages = $server->numMessages();
|
$numMessages = $server->numMessages();
|
||||||
$this->assertEquals(11, $numMessages);
|
$this->assertEquals(self::$num_messages_inbox, $numMessages);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetMessages()
|
public function testGetMessages()
|
||||||
|
Loading…
Reference in New Issue
Block a user