Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ce07dd

Browse files
author
Aleksey Prilipko
committed
test fix
1 parent 7261d74 commit 6ce07dd

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/Symfony/Component/Cache/Tests/Adapter/MemcachedAdapterTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\Cache\Adapter\AbstractAdapter;
1515
use Symfony\Component\Cache\Adapter\MemcachedAdapter;
16-
use Symfony\Component\Cache\Adapter\TagAwareAdapter;
1716

1817
class MemcachedAdapterTest extends AdapterTestCase
1918
{
@@ -193,18 +192,6 @@ public function provideDsnWithOptions()
193192
);
194193
}
195194

196-
public function testNonBinaryMemcachedMode()
197-
{
198-
$nonbinaryMemcachedClient = AbstractAdapter::createConnection('memcached://'.getenv('MEMCACHED_HOST'), array('binary_protocol' => false));
199-
$simpleCache = new MemcachedAdapter($nonbinaryMemcachedClient);
200-
$tagAwareCache = new TagAwareAdapter($nonbinaryMemcachedClient);
201-
202-
$simpleCache->save($simpleCache->getItem('simple')->set(1));
203-
$tagAwareCache->save($tagAwareCache->getItem('tagged')->set(1));
204-
205-
$this->assertEquals(1, $simpleCache->getItem('simple')->get(), 'TagAwareAdapter should not corrupt memcached connection in ascii mode');
206-
}
207-
208195
public function testNonAsciiKeysInTextMode()
209196
{
210197
$nonbinaryMemcachedClient = AbstractAdapter::createConnection('memcached://'.getenv('MEMCACHED_HOST'), array('binary_protocol' => false));

0 commit comments

Comments
 (0)