Fix unit tests.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
parent
747a174257
commit
5bc3a665fa
@ -43,7 +43,7 @@ class PMA_List_Database_Test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
private function _callProtectedFunction($name, $params)
|
||||
{
|
||||
$class = new ReflectionClass('ListDatabase');
|
||||
$class = new ReflectionClass('PMA\libraries\ListDatabase');
|
||||
$method = $class->getMethod($name);
|
||||
$method->setAccessible(true);
|
||||
return $method->invokeArgs($this->object, $params);
|
||||
|
||||
@ -151,7 +151,7 @@ class PMA_Theme_Manager_Test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$tm = new ThemeManager();
|
||||
$this->assertInstanceOf(
|
||||
'PMA_theme',
|
||||
'PMA\libraries\Theme',
|
||||
$tm->getFallBackTheme()
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user