summaryrefslogtreecommitdiffstats
path: root/tests/lib/preview.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-09-27 11:33:37 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-09-27 11:33:37 +0200
commit4e9296a484fbec0a4c725f32ef47716f9e1b56bc (patch)
treef4dceb6dfb4b13707d9d489df29cb207696d52a7 /tests/lib/preview.php
parent1b13101096493c0c8f02826e373af761fd5cfac6 (diff)
downloadnextcloud-server-4e9296a484fbec0a4c725f32ef47716f9e1b56bc.tar.gz
nextcloud-server-4e9296a484fbec0a4c725f32ef47716f9e1b56bc.zip
rename testTxtBlacklist to txtBlacklist
Diffstat (limited to 'tests/lib/preview.php')
-rw-r--r--tests/lib/preview.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/preview.php b/tests/lib/preview.php
index 98659a7e887..01d8a57fc68 100644
--- a/tests/lib/preview.php
+++ b/tests/lib/preview.php
@@ -92,7 +92,7 @@ class Preview extends \PHPUnit_Framework_TestCase {
$this->assertEquals($image->height(), $maxY);
}
- public function testTxtBlacklist() {
+ public function txtBlacklist() {
$txt = 'random text file';
$ics = file_get_contents(__DIR__ . '/../data/testcal.ics');
$vcf = file_get_contents(__DIR__ . '/../data/testcontact.vcf');
@@ -105,7 +105,7 @@ class Preview extends \PHPUnit_Framework_TestCase {
}
/**
- * @dataProvider testTxtBlacklist
+ * @dataProvider txtBlacklist
*/
public function testIsTransparent($test, $data, $expectedResult) {
$user = $this->initFS();
@@ -146,4 +146,4 @@ class Preview extends \PHPUnit_Framework_TestCase {
return $user;
}
-} \ No newline at end of file
+}