Fix unit tests.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
Hugues Peccatte 2015-08-29 23:17:11 +02:00
parent 747a174257
commit 5bc3a665fa
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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()
);
}