diff options
Diffstat (limited to 'tests/phpunit/structure/SettingsTest.php')
-rw-r--r-- | tests/phpunit/structure/SettingsTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/structure/SettingsTest.php b/tests/phpunit/structure/SettingsTest.php index 3b457e346a72..2eb8d3c8f066 100644 --- a/tests/phpunit/structure/SettingsTest.php +++ b/tests/phpunit/structure/SettingsTest.php @@ -598,7 +598,7 @@ class SettingsTest extends MediaWikiIntegrationTestCase { */ public function testSetLocaltimezone(): void { // Make sure the configured timezone ewas applied to the PHP runtime. - $tz = $this->getServiceContainer()->getMainConfig()->get( 'Localtimezone' ); + $tz = $this->getServiceContainer()->getMainConfig()->get( MainConfigNames::Localtimezone ); $this->assertSame( $tz, date_default_timezone_get() ); } } |