summaryrefslogtreecommitdiffstats
path: root/tests/lib/LargeFileHelperGetFileSizeTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/LargeFileHelperGetFileSizeTest.php')
-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.'
);