File tree 1 file changed +0
-13
lines changed
src/Symfony/Component/Cache/Tests/Adapter
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \Cache \Adapter \AbstractAdapter ;
15
15
use Symfony \Component \Cache \Adapter \MemcachedAdapter ;
16
- use Symfony \Component \Cache \Adapter \TagAwareAdapter ;
17
16
18
17
class MemcachedAdapterTest extends AdapterTestCase
19
18
{
@@ -193,18 +192,6 @@ public function provideDsnWithOptions()
193
192
);
194
193
}
195
194
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
-
208
195
public function testNonAsciiKeysInTextMode ()
209
196
{
210
197
$ nonbinaryMemcachedClient = AbstractAdapter::createConnection ('memcached:// ' .getenv ('MEMCACHED_HOST ' ), array ('binary_protocol ' => false ));
You can’t perform that action at this time.
0 commit comments