bigbite / wp-cypress

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

Rename incorrect `post_excerpt` argument in User fixture #100

Closed over-engineer closed 2 years ago

over-engineer commented 2 years ago

Description

Closes #99 - renames the post_excerpt user data argument to description in the User fixture.

Change Log

Types of changes (if applicable):

Checklist (if applicable):

over-engineer commented 2 years ago

Hey! 👋

This PR changes a single word – post_excerpt to description. With that being said, this could potentially be a breaking change because all users will be generated with a (biographical) description. That might break things for a test that depends on a user not having a description (i.e. the default behavior up until now).

If you believe this change might be risky, I'd suggest removing the post_excerpt from the user's default values altogether since it's not applicable to a User fixture (see wp_insert_user()).