Skip to content
Permalink
Browse files

Fix tests.

  • Loading branch information...
ADmad committed Aug 31, 2014
1 parent 6d86787 commit 63a215b329987a8dcf65adb4329f7eb564240643
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests/TestCase/Cache/Engine/MemcachedEngineTest.php
@@ -177,7 +177,7 @@ public function testInvalidSerializerSetting() {
);
$this->setExpectedException(
'Cake\Core\Exception\Exception', 'invalid_serializer is not a valid serializer engine for Memcached'
'InvalidArgumentException', 'invalid_serializer is not a valid serializer engine for Memcached'
);
$Memcached->init($config);
}
@@ -289,7 +289,7 @@ public function testJsonSerializerThrowException() {
);
$this->setExpectedException(
'Cake\Core\Exception\Exception', 'Memcached extension is not compiled with json support'
'InvalidArgumentException', 'Memcached extension is not compiled with json support'
);
$Memcached->init($config);
}
@@ -314,7 +314,7 @@ public function testMsgpackSerializerThrowException() {
);
$this->setExpectedException(
'Cake\Core\Exception\Exception', 'msgpack is not a valid serializer engine for Memcached'
'InvalidArgumentException', 'msgpack is not a valid serializer engine for Memcached'
);
$Memcached->init($config);
}
@@ -339,7 +339,7 @@ public function testIgbinarySerializerThrowException() {
);
$this->setExpectedException(
'Cake\Core\Exception\Exception', 'Memcached extension is not compiled with igbinary support'
'InvalidArgumentException', 'Memcached extension is not compiled with igbinary support'
);
$Memcached->init($config);
}
@@ -366,7 +366,7 @@ public function testSaslAuthException() {
);
$this->setExpectedException(
'Cake\Core\Exception\Exception', 'Memcached extension is not build with SASL support'
'InvalidArgumentException', 'Memcached extension is not build with SASL support'
);
$Memcached->init($config);
}

0 comments on commit 63a215b

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