Skip to content

Use auto loading for the client #2

@christeredvartsen

Description

@christeredvartsen

Would it be possible for you to use auto loading instead of require statements for the API client? Using require statements makes unit testing for us a lot harder when trying to mock the client.

Mockery supports mocking of static public methods for classes not yet loaded, but we can't use this feature because of the existing require statements, and therefore can't write suitable tests.

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