diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-05 17:42:14 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-05 17:42:14 +0200 |
commit | 8d5165e8dc40289b5d523523c4140f780b2fe293 (patch) | |
tree | b4d15f2bc67e16c94d7cdfdb893a773b415d2738 /tests/lib/TestCase.php | |
parent | 426c0341ffff262f58d1b7f031de4f0c53c8bec5 (diff) | |
download | nextcloud-server-8d5165e8dc40289b5d523523c4140f780b2fe293.tar.gz nextcloud-server-8d5165e8dc40289b5d523523c4140f780b2fe293.zip |
Adapt tests to config value typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/TestCase.php')
-rw-r--r-- | tests/lib/TestCase.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/TestCase.php b/tests/lib/TestCase.php index 256fb95a85b..a242a51a887 100644 --- a/tests/lib/TestCase.php +++ b/tests/lib/TestCase.php @@ -266,7 +266,7 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase { return self::$realDatabase; }); } - $dataDir = \OC::$server->getConfig()->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data-autotest'); + $dataDir = \OC::$server->getConfig()->getSystemValueString('datadirectory', \OC::$SERVERROOT . '/data-autotest'); if (self::$wasDatabaseAllowed && \OC::$server->getDatabaseConnection()) { $db = \OC::$server->getDatabaseConnection(); if ($db->inTransaction()) { |