test: correct used client api call in integration test (#6685)

fix: correct used client api call in integration test

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Stefan Benz 2023-10-09 14:09:51 +02:00 committed by GitHub
parent 8c68f8ed3a
commit 6ce11a416a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,10 +260,10 @@ func TestServer_SAMLACS(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got, err := Client.StartIdentityProviderFlow(tt.args.ctx,
&user.StartIdentityProviderFlowRequest{
got, err := Client.StartIdentityProviderIntent(tt.args.ctx,
&user.StartIdentityProviderIntentRequest{
IdpId: tt.args.idpID,
Content: &user.StartIdentityProviderFlowRequest_Urls{
Content: &user.StartIdentityProviderIntentRequest_Urls{
Urls: &user.RedirectURLs{
SuccessUrl: tt.args.successURL,
FailureUrl: tt.args.failureURL,