Merge pull request #12342 from owncloud/fix-master-unit-tests
fix unit tests of mdb2scheamreader
This commit is contained in:
commit
13b06aa6df
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue