Do not take options from Setting (settings are used from test env). Take it from ENV.
This commit is contained in:
parent
9808b0873f
commit
184d47ffce
1 changed files with 5 additions and 3 deletions
|
@ -12,9 +12,11 @@ class AaaGettingStartedTest < TestCase
|
||||||
mailbox_user = ENV['MAILBOX_INIT'].split(':')[0]
|
mailbox_user = ENV['MAILBOX_INIT'].split(':')[0]
|
||||||
mailbox_password = ENV['MAILBOX_INIT'].split(':')[1]
|
mailbox_password = ENV['MAILBOX_INIT'].split(':')[1]
|
||||||
|
|
||||||
fqdn = Setting.get('fqdn')
|
url = if ENV['BROWSER_URL']
|
||||||
http_type = Setting.get('http_type')
|
ENV['BROWSER_URL']
|
||||||
url = "#{http_type}://#{fqdn}"
|
else
|
||||||
|
'http://localhost:3000'
|
||||||
|
end
|
||||||
|
|
||||||
@browser = browser_instance
|
@browser = browser_instance
|
||||||
location( url: browser_url )
|
location( url: browser_url )
|
||||||
|
|
Loading…
Reference in a new issue