Skip to content

Commit

Permalink
Fixing tests related to StaticConfigTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Aug 30, 2014
1 parent ce8384d commit add0bd5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Cache/CacheTest.php
Expand Up @@ -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() {
Expand All @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Datasource/ConnectionManagerTest.php
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Log/LogTest.php
Expand Up @@ -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() {
Expand Down

0 comments on commit add0bd5

Please sign in to comment.