summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/db/mdb2schemareader.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/db/mdb2schemareader.php b/tests/lib/db/mdb2schemareader.php
index b2ff55e1632..7939c782e80 100644
--- a/tests/lib/db/mdb2schemareader.php
+++ b/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_')