Correctly mock dbi

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-12-16 23:09:49 +11:00
parent a624f09e24
commit 9e19e168ea

View File

@ -62,7 +62,7 @@ class ServerPluginsControllerTest extends PHPUnit_Framework_TestCase
public function testPMAGetPluginAndModuleInfo()
{
//Mock DBI
$dbi = $this->getMockBuilder('PMA_DatabaseInterface')
$dbi = $this->getMockBuilder('PMA\libraries\DatabaseInterface')
->disableOriginalConstructor()
->getMock();
$GLOBALS['dbi'] = $dbi;