Skip to content

MinFraudClientInterface? #165

@willy-opale

Description

@willy-opale

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions