diff options
Diffstat (limited to 'authorization.rb')
-rw-r--r-- | authorization.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/authorization.rb b/authorization.rb index 3772638..cbe8b5a 100644 --- a/authorization.rb +++ b/authorization.rb @@ -3,6 +3,10 @@ require "opentox-ruby" require "test/unit" TEST_URI = "http://only_a_test/test/" + rand(1000000).to_s +unless AA_SERVER #overwrite turned off A&A server for testing + AA_SERVER = "https://opensso.in-silico.ch" + @@subjectid = OpenTox::Authorization.authenticate(TEST_USER,TEST_PW) +end class TestOpenToxAuthorizationBasic < Test::Unit::TestCase @@ -104,4 +108,4 @@ end def login OpenTox::Authorization.authenticate(TEST_USER,TEST_PW) -end
\ No newline at end of file +end |