CommentFormatterTest: Set ArticlePath in the test

Tests would fail if your wiki's config was different than this.

Change-Id: I148851a9d7b777f1fad5f17b01b835b0b9384a80
This commit is contained in:
Bartosz Dziewoński 2024-02-24 01:15:59 +01:00
parent 5ebdb052c7
commit cf9f11167d

View file

@ -65,6 +65,7 @@ class CommentFormatterTest extends IntegrationTestCase {
// Consistent defaults for generating canonical URLs // Consistent defaults for generating canonical URLs
MainConfigNames::Server => 'https://example.org', MainConfigNames::Server => 'https://example.org',
MainConfigNames::CanonicalServer => 'https://example.org', MainConfigNames::CanonicalServer => 'https://example.org',
MainConfigNames::ArticlePath => '/wiki/$1',
MainConfigNames::ScriptPath => '/w', MainConfigNames::ScriptPath => '/w',
MainConfigNames::Script => '/w/index.php', MainConfigNames::Script => '/w/index.php',
] ); ] );