Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-08-20 15:08:18 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-08-20 17:35:38 +0300
commitb09620651cbb72e5a623d47ed409e949b114c7cf (patch)
tree7ebae0d2f95477044de84c666f07b341da7b5efd /tests/lib
parent420a3762cba2f8ef300f95f7c9de188bcbef65bb (diff)
Don't use deprecated getIniWrapper() anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/LargeFileHelperGetFileSizeTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/LargeFileHelperGetFileSizeTest.php b/tests/lib/LargeFileHelperGetFileSizeTest.php
index 3ad8f5b8806..e21ac4ee64b 100644
--- a/tests/lib/LargeFileHelperGetFileSizeTest.php
+++ b/tests/lib/LargeFileHelperGetFileSizeTest.php
@@ -8,6 +8,8 @@
namespace Test;
+use bantu\IniGetWrapper\IniGetWrapper;
+
/**
* Tests whether LargeFileHelper is able to determine file size at all.
* Large files are not considered yet.
@@ -43,7 +45,7 @@ class LargeFileHelperGetFileSizeTest extends TestCase {
'The PHP curl extension is required for this test.'
);
}
- if (\OC::$server->getIniWrapper()->getString('open_basedir') !== '') {
+ if (\OC::$server->get(IniGetWrapper::class)->getString('open_basedir') !== '') {
$this->markTestSkipped(
'The PHP curl extension does not work with the file:// protocol when open_basedir is enabled.'
);