Browse Source

Merge pull request #12342 from owncloud/fix-master-unit-tests

fix unit tests of mdb2scheamreader
remotes/origin/fix-10825
Thomas Müller 11 years ago
parent
commit
13b06aa6df
  1. 4
      tests/lib/db/mdb2schemareader.php

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