Skip to content
Permalink
Browse files

Fix Memcached test, getMemcached() returns null when called before in…

…it()

This lead to method_exists() always returning false.
  • Loading branch information...
ceeram committed Sep 24, 2014
1 parent 3bbac01 commit 492b8a9a2f3c6774d64174317fc0e4069e5f3cb9
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/TestCase/Cache/Engine/MemcachedEngineTest.php
@@ -360,6 +360,7 @@ public function testSaslAuthException() {
'password' => 'password'
);
$Memcached->setMemcached(new Memcached());
$this->skipIf(
method_exists($Memcached->getMemcached(), 'setSaslAuthData'),
'Memcached extension is installed with SASL support'

0 comments on commit 492b8a9

Please sign in to comment.
You can’t perform that action at this time.