summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-02 15:00:12 +0200
committerkondou <kondou@ts.unde.re>2013-08-02 15:00:12 +0200
commitde0dc30d8925f43ddec0e8bb5d2986ab3609919a (patch)
treeaa3bb85369c491b583bd49e52400b55b1dd2c918 /tests
parent12ee590b2ccf33afa03ddda02d05f36273c1cdf3 (diff)
downloadnextcloud-server-de0dc30d8925f43ddec0e8bb5d2986ab3609919a.tar.gz
nextcloud-server-de0dc30d8925f43ddec0e8bb5d2986ab3609919a.zip
Update skipped tests messages
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/image.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/image.php b/tests/lib/image.php
index a04fe662c18..0583c300075 100644
--- a/tests/lib/image.php
+++ b/tests/lib/image.php
@@ -55,7 +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");
+ $this->markTestSkipped("When loading from data or base64, imagetype is always image/png, see #4258.");
$img = new \OC_Image(OC::$SERVERROOT.'/tests/data/testimage.png');
$this->assertEquals('image/png', $img->mimeType());
@@ -105,7 +105,7 @@ class Test_Image extends PHPUnit_Framework_TestCase {
}
public function testData() {
- $this->markTestSkipped("Somehow data() doesn't equal file_get_contents's data");
+ $this->markTestSkipped("\OC_Image->data() converts to png before outputting data, see #4258.");
$img = new \OC_Image(OC::$SERVERROOT.'/tests/data/testimage.png');
$expected = file_get_contents(OC::$SERVERROOT.'/tests/data/testimage.png');
$this->assertEquals($expected, $img->data());
@@ -120,7 +120,7 @@ class Test_Image extends PHPUnit_Framework_TestCase {
}
public function testToString() {
- $this->markTestSkipped("Somehow data() doesn't equal file_get_contents's data");
+ $this->markTestSkipped("\OC_Image->data() converts to png before outputting data, see #4258.");
$img = new \OC_Image(OC::$SERVERROOT.'/tests/data/testimage.png');
$expected = base64_encode(file_get_contents(OC::$SERVERROOT.'/tests/data/testimage.png'));
$this->assertEquals($expected, (string)$img);