summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-11-21 13:07:51 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-11-21 13:07:51 +0100
commit13b06aa6dfeb7c63750461529b27494ed035707d (patch)
tree6df17f5230e1a38e681d3140280fdc269cabfe6a
parentf8421958b3d06379c9dbfec49a16cf072dff7591 (diff)
parent75d37b69f6aedb6eb97b39d14cf2f5f8bc87bc49 (diff)
downloadnextcloud-server-13b06aa6dfeb7c63750461529b27494ed035707d.tar.gz
nextcloud-server-13b06aa6dfeb7c63750461529b27494ed035707d.zip
Merge pull request #12342 from owncloud/fix-master-unit-tests
fix unit tests of mdb2scheamreader
-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_')