Fix mixed/messed up whitespace
authorSam Reed <reedy@users.mediawiki.org>
Wed, 7 Mar 2012 01:09:35 +0000 (01:09 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 7 Mar 2012 01:09:35 +0000 (01:09 +0000)
tests/phpunit/includes/media/ExifTest.php

index b39c15e..80aaac2 100644 (file)
@@ -7,17 +7,17 @@ class ExifTest extends MediaWikiTestCase {
                if ( !wfDl( 'exif' ) ) {
                        $this->markTestSkipped( "This test needs the exif extension." );
                }
-                global $wgShowEXIF;
-                $this->showExif = $wgShowEXIF;
-                $wgShowEXIF = true;
+               global $wgShowEXIF;
+               $this->showExif = $wgShowEXIF;
+               $wgShowEXIF = true;
        }
-        public function tearDown() {
-                global $wgShowEXIF;
-                $wgShowEXIF = $this->showExif;
-        }
 
-       public function testGPSExtraction() {
+       public function tearDown() {
+               global $wgShowEXIF;
+               $wgShowEXIF = $this->showExif;
+       }
 
+       public function testGPSExtraction() {
                $filename = $this->mediaPath . 'exif-gps.jpg';
                $seg = JpegMetadataExtractor::segmentSplitter( $filename ); 
                $exif = new Exif( $filename, $seg['byteOrder'] );
@@ -31,8 +31,8 @@ class ExifTest extends MediaWikiTestCase {
                );
                $this->assertEquals( $expected, $data, '', 0.0000000001 );
        }
-       public function testUnicodeUserComment() {
 
+       public function testUnicodeUserComment() {
                $filename = $this->mediaPath . 'exif-user-comment.jpg';
                $seg = JpegMetadataExtractor::segmentSplitter( $filename ); 
                $exif = new Exif( $filename, $seg['byteOrder'] );