10up/wpcli-vulnerability-scanner

Mock WPScan API for Functional tests

iamdharmesh opened this issue · 0 comments

Is your enhancement related to a problem? Please describe.

Functional tests using WPScan as an API provider fail due to the Daily API limits. To fix this failure and make functional tests work properly, we can mock WPScan API calls.

Designs

We have implemented an API mock in 10up/classifai#334 we can follow something similar here.

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct