bigbite / wp-cypress

WordPress end to end testing with Cypress.io.
MIT License
86 stars 19 forks source link

Fix for Seeder not running outside of CLI. #72

Closed ampersarnie closed 3 years ago

ampersarnie commented 3 years ago

Description

Fixes an issue where the seeder being called via PHP, rather than via CLI, will not trigger due to additional params not being used. This PR adds in a default value on the second param to ensure that it does not fail in these situations.

Change Log

Types of changes (if applicable):

Checklist (if applicable):