[HttpFoundation] Enable memcached tests with the latest memcached extension
This commit is contained in:
parent
ca0fdf8977
commit
b482fb784e
@ -37,8 +37,8 @@ class MemcachedSessionHandlerTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
if (version_compare(phpversion('memcached'), '2.2.0', '>=')) {
|
if (version_compare(phpversion('memcached'), '2.2.0', '>=') && version_compare(phpversion('memcached'), '3.0.0b1', '<')) {
|
||||||
$this->markTestSkipped('Tests can only be run with memcached extension 2.1.0 or lower');
|
$this->markTestSkipped('Tests can only be run with memcached extension 2.1.0 or lower, or 3.0.0b1 or higher');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->memcached = $this->getMock('Memcached');
|
$this->memcached = $this->getMock('Memcached');
|
||||||
|
Reference in New Issue
Block a user