fix unit tests of mdb2scheamreader

This commit is contained in:
Morris Jobke 2014-11-20 22:35:37 +01:00
parent 593ef76e36
commit 75d37b69f6
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@ class MDB2SchemaReader extends \Test\TestCase {
* @return \OC\Config
*/
protected function getConfig() {
$config = $this->getMockBuilder('\OC\Config')
$config = $this->getMockBuilder('\OCP\IConfig')
->disableOriginalConstructor()
->getMock();
$config->expects($this->any())
->method('getValue')
->method('getSystemValue')
->will($this->returnValueMap(array(
array('dbname', 'owncloud', 'testDB'),
array('dbtableprefix', 'oc_', 'test_')