Fix typo in variable name

Change-Id: I5461ea73b15bb8064d02a5f87135dc13b0ec53d5
This commit is contained in:
Fomafix 2024-03-05 20:58:06 +00:00
parent 72be98a638
commit 5a5315b927

View file

@ -46,10 +46,10 @@ class FeaturesHelperTest extends MediaWikiIntegrationTestCase {
* @covers \MediaWiki\Minerva\Skins\FeaturesHelper::shouldDisableNightMode
*/
public function testShouldDisableNightModeExcluded(
array $options, WebRequest $request, Title $title = null, bool $expeted = false ) {
array $options, WebRequest $request, Title $title = null, bool $expected = false ) {
$featuresHelper = new FeaturesHelper();
$shouldDisableNightMode = $featuresHelper->shouldDisableNightMode( $options, $request, $title );
$this->assertSame( $expeted, $shouldDisableNightMode );
$this->assertSame( $expected, $shouldDisableNightMode );
}
/**