replace Exception on InitializationException
This commit is contained in:
3
tests/cache/CacherTest.php
vendored
3
tests/cache/CacherTest.php
vendored
@ -15,6 +15,7 @@ require_once dirname(__FILE__) . '/../../cache/Cache.php';
|
||||
require_once dirname(__FILE__) . '/../../cache/Cacher.php';
|
||||
require_once dirname(__FILE__) . '/../../Registry.php';
|
||||
require_once dirname(__FILE__) . '/../../Config.php';
|
||||
require_once dirname(__FILE__) . '/../../exception/InitializationException.php';
|
||||
|
||||
class CacherTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
@ -27,7 +28,7 @@ class CacherTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedException InitializationException
|
||||
* @expectedExcepptionMessage Cache driver
|
||||
*/
|
||||
public function testNotExtendsCache()
|
||||
|
Reference in New Issue
Block a user