Skip to content
Permalink
Browse files

Fixing tests related to StaticConfigTrait

  • Loading branch information...
lorenzo committed Aug 30, 2014
1 parent ce8384d commit add0bd5005321e612d45b121bd7e425ecb6518b5
@@ -193,7 +193,7 @@ public function testConfigInvalidEngine() {
/**
* test that trying to configure classes that don't extend CacheEngine fail.
*
* @expectedException \Cake\Core\Exception\Exception
* @expectedException BadMethodCallException
* @return void
*/
public function testConfigInvalidObject() {
@@ -207,7 +207,7 @@ public function testConfigInvalidObject() {
/**
* Ensure you cannot reconfigure a cache adapter.
*
* @expectedException \Cake\Core\Exception\Exception
* @expectedException BadMethodCallException
* @return void
*/
public function testConfigErrorOnReconfigure() {
@@ -83,7 +83,7 @@ public function testConfigInvalidOptions() {
/**
* Test for errors on duplicate config.
*
* @expectedException \Cake\Core\Exception\Exception
* @expectedException BadMethodCallException
* @expectedExceptionMessage Cannot reconfigure existing key "test_variant"
* @return void
*/
@@ -195,7 +195,7 @@ public function testConfigRead() {
/**
* Ensure you cannot reconfigure a log adapter.
*
* @expectedException \Cake\Core\Exception\Exception
* @expectedException BadMethodCallException
* @return void
*/
public function testConfigErrorOnReconfigure() {

0 comments on commit add0bd5

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