aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/filerepo/file
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/filerepo/file')
-rw-r--r--tests/phpunit/includes/filerepo/file/LocalFileTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/filerepo/file/LocalFileTest.php b/tests/phpunit/includes/filerepo/file/LocalFileTest.php
index 6c3ddca2f432..bc72607ef671 100644
--- a/tests/phpunit/includes/filerepo/file/LocalFileTest.php
+++ b/tests/phpunit/includes/filerepo/file/LocalFileTest.php
@@ -849,7 +849,7 @@ class LocalFileTest extends MediaWikiIntegrationTestCase {
$this->getTestSysop()->getUser(),
$props
);
- $this->assertSame( [], $status->getErrors() );
+ $this->assertStatusGood( $status );
// Check properties of the same object immediately after upload
$this->assertFileProperties( $props, $file );
// Check round-trip through the DB
@@ -881,7 +881,7 @@ class LocalFileTest extends MediaWikiIntegrationTestCase {
'page text',
0
);
- $this->assertSame( [], $status->getErrors() );
+ $this->assertStatusGood( $status );
// Test reupload
$file = new LocalFile( $title, $repo );
@@ -892,7 +892,7 @@ class LocalFileTest extends MediaWikiIntegrationTestCase {
'page text',
0
);
- $this->assertSame( [], $status->getErrors() );
+ $this->assertStatusGood( $status );
}
public function provideReserializeMetadata() {