From 184d47ffce6976a35d905d3f3798d5df855f08f3 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 1 Feb 2016 20:51:36 +0100 Subject: [PATCH] Do not take options from Setting (settings are used from test env). Take it from ENV. --- test/browser/aaa_getting_started_test.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/browser/aaa_getting_started_test.rb b/test/browser/aaa_getting_started_test.rb index 1d06695d1..e113e88c3 100644 --- a/test/browser/aaa_getting_started_test.rb +++ b/test/browser/aaa_getting_started_test.rb @@ -12,9 +12,11 @@ class AaaGettingStartedTest < TestCase mailbox_user = ENV['MAILBOX_INIT'].split(':')[0] mailbox_password = ENV['MAILBOX_INIT'].split(':')[1] - fqdn = Setting.get('fqdn') - http_type = Setting.get('http_type') - url = "#{http_type}://#{fqdn}" + url = if ENV['BROWSER_URL'] + ENV['BROWSER_URL'] + else + 'http://localhost:3000' + end @browser = browser_instance location( url: browser_url )