You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
This patch adds a test (using a test asset extending the `CreditCard`
validator) to cover the changes in #202. In doing so, I discovered the
logic in `CreditCard::addType()` was incorrectly storing the type
provided to the method, and not the constant _value_, which is what
`isValid()` assumes it to be in order to perform lookups in the other
class members.
0 commit comments