X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fchanges%2FChangesListStringOptionsFilterGroupTest.php;h=4f917e9d46c9cbe081c8db84afff8dc3cf8b0f31;hb=3afdb703b6e5f6f6a6b01327b0b06d4436a4c200;hp=dc868a89b69f0db89b4d448af35a254312b1bd11;hpb=c6b1dede111e00d8993c4177c9678d17d035e5ed;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/changes/ChangesListStringOptionsFilterGroupTest.php b/tests/phpunit/includes/changes/ChangesListStringOptionsFilterGroupTest.php index dc868a89b6..4f917e9d46 100644 --- a/tests/phpunit/includes/changes/ChangesListStringOptionsFilterGroupTest.php +++ b/tests/phpunit/includes/changes/ChangesListStringOptionsFilterGroupTest.php @@ -1,5 +1,7 @@ assertSame( + ) use ( $expectedValues ) { + $this->assertSame( $expectedValues, $actualSelectedValues ); @@ -183,8 +183,8 @@ class ChangesListStringOptionsFilterGroupTest extends MediaWikiTestCase { * @dataProvider provideModifyQuery */ protected function modifyQueryHelper( $groupDefinition, $input ) { - $ctx = $this->getMock( 'IContextSource' ); - $dbr = $this->getMock( 'IDatabase' ); + $ctx = $this->createMock( 'IContextSource' ); + $dbr = $this->createMock( 'IDatabase' ); $tables = $fields = $conds = $query_options = $join_conds = []; $group = new ChangesListStringOptionsFilterGroup( $groupDefinition );