refactor: success api on acceptance tests
What does this MR do and why?
This is one step to refactor the acceptance tests.
In this MR I am reusing customHandler
to remove customized logic from successAPI
function:
- Reuse
customHandler
on functionTestDiscoverSuccess
- Reuse
customHandler
on functionTestPersonalAccessTokenSuccess
- Reuse
customHandler
on functionTestTwoFactorAuthRecoveryCodesSuccess
- Reuse
customHandler
on functionTwoFactorAuthVerifySuccess
- Reuse
customHandler
on functionTestGitLfsAuthenticateSuccess
- Removing all customized logic from
successAPI
function
Closes: #616 (closed)
How to set up and validate locally
- Run acceptance tests.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mohamed Saber