summaryrefslogtreecommitdiffstats
path: root/tests/lib/image.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-10 22:59:50 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-19 14:53:51 +0100
commitcb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (patch)
tree2a3ec09e86f13885483286ba5f5213201eb4ee67 /tests/lib/image.php
parent76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (diff)
downloadnextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.tar.gz
nextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.zip
Make root tests extend the \Test\TestCase
Diffstat (limited to 'tests/lib/image.php')
-rw-r--r--tests/lib/image.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/image.php b/tests/lib/image.php
index a683c3d2c8b..e0009b9710e 100644
--- a/tests/lib/image.php
+++ b/tests/lib/image.php
@@ -6,10 +6,12 @@
* See the COPYING-README file.
*/
-class Test_Image extends PHPUnit_Framework_TestCase {
+class Test_Image extends \Test\TestCase {
public static function tearDownAfterClass() {
@unlink(OC::$SERVERROOT.'/tests/data/testimage2.png');
@unlink(OC::$SERVERROOT.'/tests/data/testimage2.jpg');
+
+ parent::tearDownAfterClass();
}
public function testGetMimeTypeForFile() {