Replace foundationwiki url
Bug: T199812 Change-Id: Iec87e90ed3dd058a2b06b87278793dab5c16c0c9
This commit is contained in:
parent
bd0f0ce540
commit
7db16b308d
|
@ -89,7 +89,7 @@ Given(/^I go to a page that does not have languages$/) do
|
||||||
end
|
end
|
||||||
|
|
||||||
Given(/^the wiki has a terms of use$/) do
|
Given(/^the wiki has a terms of use$/) do
|
||||||
api.create_page 'MediaWiki:mobile-frontend-terms-url', 'http://m.wikimediafoundation.org/wiki/Terms_of_Use'
|
api.create_page 'MediaWiki:mobile-frontend-terms-url', 'https://mobile.test/wiki/Terms_of_Use'
|
||||||
api.create_page 'MediaWiki:mobile-frontend-terms-text', 'Terms of use'
|
api.create_page 'MediaWiki:mobile-frontend-terms-text', 'Terms of use'
|
||||||
# force a visit to check its existence
|
# force a visit to check its existence
|
||||||
visit(ArticlePage, using_params: { article_name: 'MediaWiki:Mobile-frontend-terms-url?action=info' })
|
visit(ArticlePage, using_params: { article_name: 'MediaWiki:Mobile-frontend-terms-url?action=info' })
|
||||||
|
|
Loading…
Reference in New Issue