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>
(cherry picked from commit 6ce11a416a)
This commit is contained in:
Stefan Benz 2023-10-09 14:09:51 +02:00 committed by Livio Spring
parent dee9d8d3a7
commit 3689624232
No known key found for this signature in database
GPG Key ID: 26BB1C2FA5952CF0

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,