replace Exception on InitializationException
This commit is contained in:
3
tests/cache/MemcacheCacheTest.php
vendored
3
tests/cache/MemcacheCacheTest.php
vendored
@ -15,6 +15,7 @@
|
||||
|
||||
require_once dirname(__FILE__) . '/../../cache/Cache.php';
|
||||
require_once dirname(__FILE__) . '/../../cache/MemcacheCache.php';
|
||||
require_once dirname(__FILE__) . '/../../exception/InitializationException.php';
|
||||
|
||||
class MemcacheCacheTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
@ -36,7 +37,7 @@ class MemcacheCacheTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedException InitializationException
|
||||
* @expectedExceptionMessage Configuration must have a
|
||||
* @TODO: MemcacheCache::__construct - empty config array passes with no host params
|
||||
*/
|
||||
|
Reference in New Issue
Block a user