aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/LegacyHelperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/LegacyHelperTest.php')
-rw-r--r--tests/lib/LegacyHelperTest.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/lib/LegacyHelperTest.php b/tests/lib/LegacyHelperTest.php
index a2c2e011254..1940d4f2d01 100644
--- a/tests/lib/LegacyHelperTest.php
+++ b/tests/lib/LegacyHelperTest.php
@@ -27,14 +27,12 @@ class LegacyHelperTest extends \Test\TestCase {
/**
* @dataProvider humanFileSizeProvider
*/
- public function testHumanFileSize($expected, $input)
- {
+ public function testHumanFileSize($expected, $input) {
$result = OC_Helper::humanFileSize($input);
$this->assertEquals($expected, $result);
}
- public function humanFileSizeProvider()
- {
+ public function humanFileSizeProvider() {
return [
['0 B', 0],
['1 KB', 1024],
@@ -169,7 +167,6 @@ class LegacyHelperTest extends \Test\TestCase {
* @dataProvider streamCopyDataProvider
*/
public function testStreamCopy($expectedCount, $expectedResult, $source, $target) {
-
if (is_string($source)) {
$source = fopen($source, 'r');
}