test/authentication_test.rb in openseek-api-0.17.4 vs test/authentication_test.rb in openseek-api-0.18

- old
+ new

@@ -13,17 +13,17 @@ @username = 'apiuser' @password = 'apiuser' end def test_successful_authentication - au = Authentication.new(@username, @password, @as_endpoint) + au = Authentication.new(@username, @password, @as_endpoint, true) session_token = au.login assert_not_nil session_token['token'] end def test_failed_authentication invalid_password = 'blabla' - au = Authentication.new(@username, invalid_password, @as_endpoint) + au = Authentication.new(@username, invalid_password, @as_endpoint, true) assert_raise OpenbisQueryException do au.login end end end