diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-11-20 22:35:37 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-11-20 22:35:37 +0100 |
commit | 75d37b69f6aedb6eb97b39d14cf2f5f8bc87bc49 (patch) | |
tree | 277523ab7eb680922df48accf25a1efa7bcf0594 /tests | |
parent | 593ef76e36a0167e87e30072730f8b6d91bb228e (diff) | |
download | nextcloud-server-75d37b69f6aedb6eb97b39d14cf2f5f8bc87bc49.tar.gz nextcloud-server-75d37b69f6aedb6eb97b39d14cf2f5f8bc87bc49.zip |
fix unit tests of mdb2scheamreader
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/db/mdb2schemareader.php | 4 |
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_') |