Skip to content

Conversation

@TarekkMA
Copy link

@TarekkMA TarekkMA commented Oct 19, 2019

Added a base class for mock Dio adapter so testing XEndpoints classes should be easier.

final mockDio = BaseDioAdapter.failure(
          path: pathCounties,
          response: okResponseValid
      ).getMockedDioClient();
final countyEndpoints = CountyEndpoints(mockDio);

Closes #37

tarekkma added 2 commits October 19, 2019 02:24
added a base class for mock dio adapter so testing XEndpoints classes should be easier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unit Tests - Counties Endpoint

2 participants