paulgibbs / behat-wordpress-extension

WordHat: Behat for WordPress
https://wordhat.info
GNU General Public License v3.0
106 stars 20 forks source link

Context, User: deprecate `validateCredentials` in `UserElement` classes. #220

Closed paulgibbs closed 6 years ago

paulgibbs commented 6 years ago

Description

Remove validateCredentials methods in UserElement classes. This attempted to compare passwords on user objects.

Methods will be removed in 4.0.0.

Related issue

See #155

Motivation and context

I've decided I do not like behaviour that cannot be specific to all drivers, unless there is a strong reason, and I do not think this has it. I have been skeptical of the benefit of trying to compare user passwords in this method, so I am going to rip it out.

How has this been tested?

Not locally. :D

Screenshots (if appropriate):

Types of changes

Checklist: