summaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/MDB2SchemaReaderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/DB/MDB2SchemaReaderTest.php')
-rw-r--r--tests/lib/DB/MDB2SchemaReaderTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/DB/MDB2SchemaReaderTest.php b/tests/lib/DB/MDB2SchemaReaderTest.php
index 3b44f15f756..5698ad966f1 100644
--- a/tests/lib/DB/MDB2SchemaReaderTest.php
+++ b/tests/lib/DB/MDB2SchemaReaderTest.php
@@ -38,10 +38,10 @@ class MDB2SchemaReaderTest extends TestCase {
->getMock();
$config->expects($this->any())
->method('getSystemValue')
- ->will($this->returnValueMap(array(
+ ->willReturnMap(array(
array('dbname', 'owncloud', 'testDB'),
array('dbtableprefix', 'oc_', 'test_')
- )));
+ ));
return $config;
}