From: Max Semenik Date: Tue, 15 Jul 2014 17:31:07 +0000 (-0700) Subject: Small tweaks to media handler tests X-Git-Tag: 1.31.0-rc.0~14945^2 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=f718e7710aa34dd88670e14203e00dc24cf6f1d3;p=lhc%2Fweb%2Fwiklou.git Small tweaks to media handler tests * Whack @group Media everywhere * If testing access to a nonexistent file, make it obvious from its name * Grammar Change-Id: I845b484b78b3eb1e5a97f339777d3b7c9ee17712 --- diff --git a/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php b/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php index 8402522a66..c720d7b782 100644 --- a/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php +++ b/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php @@ -1,4 +1,8 @@ assertEquals( 'a:1:{s:5:"error";s:25:"Error extracting metadata";}', - $this->handler->getMetadata( null, $this->filePath . '/README' ), - 'Getting Metadata for an inexistent file should returns false' + $this->handler->getMetadata( null, $this->filePath . '/some-nonexistent-file' ), + 'Getting metadata for an inexistent file should return false' ); } diff --git a/tests/phpunit/includes/media/ExifBitmapTest.php b/tests/phpunit/includes/media/ExifBitmapTest.php index 44b20702bf..41330f4182 100644 --- a/tests/phpunit/includes/media/ExifBitmapTest.php +++ b/tests/phpunit/includes/media/ExifBitmapTest.php @@ -1,5 +1,8 @@