mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-30 11:07:24 +00:00
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:
parent
5ebdb052c7
commit
cf9f11167d
|
@ -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',
|
||||||
] );
|
] );
|
||||||
|
|
Loading…
Reference in a new issue