8000 [HttpFoundation] Enable memcached tests with the latest memcached ext… · symfony/symfony@b482fb7 · GitHub
[go: up one dir, main page]

Skip to content

Commit b482fb7

Browse files
committed
[HttpFoundation] Enable memcached tests with the latest memcached extension
1 parent ca0fdf8 commit b482fb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ protected function setUp()
3737

3838
parent::setUp();
3939

40-
if (version_compare(phpversion('memcached'), '2.2.0', '>=')) {
41-
$this->markTestSkipped('Tests can only be run with memcached extension 2.1.0 or lower');
40+
if (version_compare(phpversion('memcached'), '2.2.0', '>=') && version_compare(phpversion('memcached'), '3.0.0b1', '<')) {
41+
$this->markTestSkipped('Tests can only be run with memcached extension 2.1.0 or lower, or 3.0.0b1 or higher');
4242
}
4343

4444
$this->memcached = $this->getMock('Memcached');

0 commit comments

Comments
 (0)
0