Correctly mock dbi
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
a624f09e24
commit
9e19e168ea
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user