Commit 75d37b69 authored by Morris Jobke's avatar Morris Jobke
Browse files

fix unit tests of mdb2scheamreader

parent 593ef76e
......@@ -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_')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment