diff options
Diffstat (limited to 'tests/phpunit/includes/parser/MagicVariableTest.php')
-rw-r--r-- | tests/phpunit/includes/parser/MagicVariableTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/parser/MagicVariableTest.php b/tests/phpunit/includes/parser/MagicVariableTest.php index cdcafd9a8c71..7fffff2d9b55 100644 --- a/tests/phpunit/includes/parser/MagicVariableTest.php +++ b/tests/phpunit/includes/parser/MagicVariableTest.php @@ -157,7 +157,7 @@ class MagicVariableTest extends MediaWikiIntegrationTestCase { $this->assertUnPadded( 'revisionmonth1', $month ); } - public function provideCurrentUnitTimestampWords() { + public static function provideCurrentUnitTimestampWords() { return [ // Afternoon [ 'currentmonth', '20200208153011', '02', 604800 ], @@ -204,7 +204,7 @@ class MagicVariableTest extends MediaWikiIntegrationTestCase { $this->assertSame( $expTTL, $this->testParser->getOutput()->getCacheExpiry() ); } - public function provideLocalUnitTimestampWords() { + public static function provideLocalUnitTimestampWords() { // NOTE: Europe/Stockholm DST applies Sun, Mar 26, 2023 2:00 - Sun, Oct 29, 2023 3:00AM return [ // Afternoon |