Merge pull request #12342 from owncloud/fix-master-unit-tests

fix unit tests of mdb2scheamreader
This commit is contained in:
Thomas Müller 2014-11-21 13:07:51 +01:00
commit 13b06aa6df

View File

@ -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_')