mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
rspec: Use environment variables for user+password
Change-Id: I20273f1be7d11614879144a495c7853b6459e8b2
This commit is contained in:
parent
2988b0ac04
commit
36d250da85
|
@ -5,8 +5,8 @@ describe 'Echo' do
|
|||
if ENV['JENKINS_HOME']
|
||||
# jenkins
|
||||
@mediawiki_api = "#{ENV['MW_SERVER']}#{ENV['MW_SCRIPT_PATH']}/api.php"
|
||||
@admin_username = 'WikiAdmin'
|
||||
@admin_password = 'testwikijenkinspass'
|
||||
@admin_username = "#{ENV['MEDIAWIKI_USER']}"
|
||||
@admin_password = "#{ENV['MEDIAWIKI_PASSWORD']}"
|
||||
else
|
||||
# mediawiki-vagrant
|
||||
@mediawiki_api = 'http://127.0.0.1:8080/w/api.php'
|
||||
|
|
Loading…
Reference in a new issue