Closed georgi-logodazhki closed 11 months ago
● Account Linking › Happy Path - OTP › /linking/request-consent should be success expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 3 @@ -1,10 +1,11 @@ Object { "channelResponse": Object { "authChannels": Array [ - "OTP", + "WEB", ], + "authUri": "dfspa.com/authorize?consentRequestId=undefined", "callbackUri": "pisp-app://callback.com", "consentRequestId": "c51ec534-ee48-4575-b6a9-ead2955b8069", "scopes": Array [ Object { "accountId": "dfspa.username.5678", @@ -12,7 +13,7 @@ "accounts.transfer", ], }, ], }, - "currentState": "OTPAuthenticationChannelResponseRecieved", + "currentState": "WebAuthenticationChannelResponseRecieved", } 176 | const consentRequestsResponse = await axios.post(linkingRequestConsentURI, consentRequest) 177 | expect(consentRequestsResponse.status).toEqual(200) > 178 | expect(consentRequestsResponse.data).toEqual(expectedResponse) | ^ 179 | }) 180 | 181 | it('/linking/request-consent/consentRequestId/authenticate should be success', async (): Promise<void> => { at Object.<anonymous> (test/e2e/PISP_Linking.test.ts:178:44
Think you might have inadvertenly changes the rules for another test. You can run the tests locally as well to debug.
Think you might have inadvertenly changes the rules for another test. You can run the tests locally as well to debug.