diff options
-rw-r--r-- | tests/login_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/login_tests.c b/tests/login_tests.c index aac139a1..5750eaec 100644 --- a/tests/login_tests.c +++ b/tests/login_tests.c @@ -103,8 +103,7 @@ START_TEST(test02_serviceProviderLogin) spLoginContext = lasso_login_new(spContext); fail_unless(spLoginContext != NULL, "lasso_login_new() shouldn't have returned NULL"); - rc = lasso_login_init_authn_request(spLoginContext, - "https://identity-provider:1998/liberty-alliance/metadata"); + rc = lasso_login_init_authn_request(spLoginContext); fail_unless(rc == 0, "lasso_login_init_authn_request failed"); fail_unless(LASSO_PROFILE(spLoginContext)->request_type == \ lassoMessageTypeAuthnRequest, "request_type should be AuthnRequest"); @@ -115,7 +114,8 @@ START_TEST(test02_serviceProviderLogin) lasso_lib_authn_request_set_consent(request, lassoLibConsentObtained); relayState = "fake"; lasso_lib_authn_request_set_relayState(request, "fake"); - rc = lasso_login_build_authn_request_msg(spLoginContext); + rc = lasso_login_build_authn_request_msg(spLoginContext, + "https://identity-provider:1998/liberty-alliance/metadata"); fail_unless(rc == 0, "lasso_login_build_authn_request_msg failed"); authnRequestUrl = LASSO_PROFILE(spLoginContext)->msg_url; fail_unless(authnRequestUrl != NULL, |