replace Exception on GeneralException
This commit is contained in:
@ -14,6 +14,7 @@ require_once dirname(__FILE__) . '/../../exception/GeneralException.php';
|
||||
require_once dirname(__FILE__) . '/../../util/profiler/CommandProfiler.php';
|
||||
require_once dirname(__FILE__) . '/../../util/profiler/Profiler.php';
|
||||
require_once dirname(__FILE__) . '/../../redis/RedisDebug.php';
|
||||
require_once dirname(__FILE__) . '/../../exception/GeneralException.php';
|
||||
|
||||
class RedisDebugTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
@ -84,7 +85,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedException GeneralException
|
||||
* @expectedExceptionMessage call_user_func_array() expects parameter 1 to be a valid callback
|
||||
* @runInSeparateProcess
|
||||
*/
|
||||
|
Reference in New Issue
Block a user