diff options
author | Reedy <reedy@wikimedia.org> | 2021-11-21 19:13:24 +0000 |
---|---|---|
committer | Reedy <reedy@wikimedia.org> | 2021-11-21 19:35:49 +0000 |
commit | 8c39aab84b3e476a5d68c299da3e0e0e2066957e (patch) | |
tree | 9d6fdfdea1069ba55a7bb53c5e515065a135e958 /tests/phpunit/includes/api/Validator/SubmoduleDefTest.php | |
parent | 6e296116426e42aa57f8fa907158aa2552438cac (diff) | |
download | mediawikicore-8c39aab84b3e476a5d68c299da3e0e0e2066957e.tar.gz mediawikicore-8c39aab84b3e476a5d68c299da3e0e0e2066957e.zip |
Remove or replace usages of "sanity"
Bug: T254646
Change-Id: Ib192dc5704a14d02c7c374d0ab29bac55c5df24a
Diffstat (limited to 'tests/phpunit/includes/api/Validator/SubmoduleDefTest.php')
-rw-r--r-- | tests/phpunit/includes/api/Validator/SubmoduleDefTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/phpunit/includes/api/Validator/SubmoduleDefTest.php b/tests/phpunit/includes/api/Validator/SubmoduleDefTest.php index 4f44f6d1374a..da111529f224 100644 --- a/tests/phpunit/includes/api/Validator/SubmoduleDefTest.php +++ b/tests/phpunit/includes/api/Validator/SubmoduleDefTest.php @@ -82,10 +82,10 @@ class SubmoduleDefTest extends TypeDefTestCase { ] ); $manager->addModule( 'mod3', 'xyz', MockApi::class ); - $this->assertSame( $api, $api->getModuleFromPath( 'testmod' ), 'sanity check' ); - $this->assertSame( $dep, $api->getModuleFromPath( 'testmod+dep' ), 'sanity check' ); - $this->assertSame( $int, $api->getModuleFromPath( 'testmod+int' ), 'sanity check' ); - $this->assertSame( $depint, $api->getModuleFromPath( 'testmod+depint' ), 'sanity check' ); + $this->assertSame( $api, $api->getModuleFromPath( 'testmod' ) ); + $this->assertSame( $dep, $api->getModuleFromPath( 'testmod+dep' ) ); + $this->assertSame( $int, $api->getModuleFromPath( 'testmod+int' ) ); + $this->assertSame( $depint, $api->getModuleFromPath( 'testmod+depint' ) ); return $api; } |