diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-07-08 15:55:17 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-07-08 15:55:17 +0200 |
commit | c2d88a08b796ca19c8b5ec63bfd34ac32ead4208 (patch) | |
tree | f18e0ba4d05361456a6712378ccc0784620c1e9c /tests/lib/LargeFileHelperGetFileSizeTest.php | |
parent | 48f9e4ed03f3148d62919a95496ee43164d3e707 (diff) | |
download | nextcloud-server-c2d88a08b796ca19c8b5ec63bfd34ac32ead4208.tar.gz nextcloud-server-c2d88a08b796ca19c8b5ec63bfd34ac32ead4208.zip |
Remove unneeded checks if it runs on a Windows machine
* the setup check is still there
Diffstat (limited to 'tests/lib/LargeFileHelperGetFileSizeTest.php')
-rw-r--r-- | tests/lib/LargeFileHelperGetFileSizeTest.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/lib/LargeFileHelperGetFileSizeTest.php b/tests/lib/LargeFileHelperGetFileSizeTest.php index ac81a31819f..0c3a11e971a 100644 --- a/tests/lib/LargeFileHelperGetFileSizeTest.php +++ b/tests/lib/LargeFileHelperGetFileSizeTest.php @@ -28,12 +28,10 @@ class LargeFileHelperGetFileSizeTest extends TestCase { public function dataFileNameProvider() { $path = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR; - $filePaths = array(array($path . 'lorem.txt', 446)); - if (!\OC_Util::runningOnWindows()) { - $filePaths[] = array($path . 'strängé filename (duplicate #2).txt', 446); - } - - return $filePaths; + return [ + [ $path . 'lorem.txt', 446 ], + [ $path . 'strängé filename (duplicate #2).txt', 446 ], + ]; } /** |