DoSomething / gateway

:lock_with_ink_pen: An opinionated PHP REST API client.
MIT License
2 stars 0 forks source link

Add a test for the user index. #42

Closed DFurnes closed 8 years ago

DFurnes commented 8 years ago

Changes

This pull request adds a functional test for the getAllUsers function in the Northstar API client, which gets us some super high-level functional testing on a lot of the pieces that go into that: OAuth token requests/entities/storage, API response model and collection classes.

It also adds some little helper classes to help make mocked responses a bit more easily.


For review: @weerd