diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-09-27 14:55:37 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-09-27 14:55:37 +0200 |
commit | c5bcefe4dbd5a237693b1a7435a7041c7e85abd4 (patch) | |
tree | 9899727bbac713b22efc70ba69897a1122e24678 /tests/lib/preview.php | |
parent | 4e9296a484fbec0a4c725f32ef47716f9e1b56bc (diff) | |
download | nextcloud-server-c5bcefe4dbd5a237693b1a7435a7041c7e85abd4.tar.gz nextcloud-server-c5bcefe4dbd5a237693b1a7435a7041c7e85abd4.zip |
rename variable in testIsTransparent
Diffstat (limited to 'tests/lib/preview.php')
-rw-r--r-- | tests/lib/preview.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/preview.php b/tests/lib/preview.php index 01d8a57fc68..d0cdd2c44fb 100644 --- a/tests/lib/preview.php +++ b/tests/lib/preview.php @@ -107,7 +107,7 @@ class Preview extends \PHPUnit_Framework_TestCase { /** * @dataProvider txtBlacklist */ - public function testIsTransparent($test, $data, $expectedResult) { + public function testIsTransparent($extension, $data, $expectedResult) { $user = $this->initFS(); $rootView = new \OC\Files\View(''); @@ -117,9 +117,9 @@ class Preview extends \PHPUnit_Framework_TestCase { $x = 32; $y = 32; - $sample = '/'.$user.'/files/test.'.$test; + $sample = '/'.$user.'/files/test.'.$extension; $rootView->file_put_contents($sample, $data); - $preview = new \OC\Preview($user, 'files/', 'test.'.$test, $x, $y); + $preview = new \OC\Preview($user, 'files/', 'test.'.$extension, $x, $y); $image = $preview->getPreview(); $resource = $image->resource(); |