Browse Source

Optimize image and skip mimetype test

remotes/origin/stable6
kondou 13 years ago
parent
commit
20b688d4be
  1. BIN
      tests/data/testimage.png
  2. 1
      tests/lib/image.php

BIN
tests/data/testimage.png

Before

Width: 128  |  Height: 128  |  Size: 5.3 KiB

After

Width: 128  |  Height: 128  |  Size: 3.6 KiB

1
tests/lib/image.php

@ -55,6 +55,7 @@ class Test_Image extends PHPUnit_Framework_TestCase {
}
public function testMimeType() {
$this->markTestSkipped("When loading an image from anything, but a file, the imagetype is always png");
$img = new \OC_Image(OC::$SERVERROOT.'/tests/data/testimage.png');
$this->assertEquals('image/png', $img->mimeType());

Loading…
Cancel
Save