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
The current MinFraud implementation is very hard to test (in our test suites with PHPUnit). We are forced to create a class that inherits from MaxMind\MinFraud but disables the constructor.
It would be very helpful if some MinFraudClientInterface could be created thus making MaxMind\MinFraud implement it. We could then use this in our tests to easily create a mock object.
The text was updated successfully, but these errors were encountered:
The current MinFraud implementation is very hard to test (in our test suites with PHPUnit). We are forced to create a class that inherits from
MaxMind\MinFraud
but disables the constructor.It would be very helpful if some
MinFraudClientInterface
could be created thus makingMaxMind\MinFraud
implement it. We could then use this in our tests to easily create a mock object.The text was updated successfully, but these errors were encountered: