fix unit tests of mdb2scheamreader

remotes/origin/fix-10825
Morris Jobke 10 years ago
parent 593ef76e36
commit 75d37b69f6
  1. 4
      tests/lib/db/mdb2schemareader.php

@ -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_')

Loading…
Cancel
Save