From: Aaron Schulz Date: Wed, 16 Apr 2014 00:38:50 +0000 (-0700) Subject: Fixed broken filebackend test for "describe" X-Git-Tag: 1.31.0-rc.0~16191^2 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=7f367aa9d4661f7fb3ad5390e2c31387088cc103;p=lhc%2Fweb%2Fwiklou.git Fixed broken filebackend test for "describe" Change-Id: I30e3cfc29a1db92e7f1b85af54db778ee639e016 --- diff --git a/tests/phpunit/includes/filebackend/FileBackendTest.php b/tests/phpunit/includes/filebackend/FileBackendTest.php index cee2da2f4f..12202704cd 100644 --- a/tests/phpunit/includes/filebackend/FileBackendTest.php +++ b/tests/phpunit/includes/filebackend/FileBackendTest.php @@ -686,6 +686,7 @@ class FileBackendTest extends MediaWikiTestCase { $this->assertEquals( array( 0 => true ), $status->success, "Describe of file at $source has proper 'success' field in Status ($backendName)." ); if ( $this->backend->hasFeatures( FileBackend::ATTR_HEADERS ) ) { + $attr = $this->backend->getFileXAttributes( array( 'src' => $source ) ); $this->assertHasHeaders( $op['headers'], $attr ); } } else {