snipe-it/app/Http
Daniel Meltzer 7de8f71f58 Api tests (#5096)
* Use the formated date helper to clean up verifications.

* Add Checkin/Checkout api tests.

* Accessories api test

* Add Companies API Test.

* Return ModelNotFound as a 404.

* Cleanups/simplficiations/updates.

* Locations api test.

* currency and image should be fillable on location.

* Update components api test.

* Use findOrFail so we return a 404 instead of a 200.  Matches other item types.

* order_number should be fillable in component.

* Add updated_at and permissions to information returned from api for a user.

* Add users test and flesh out factory and fillable fields.

* Add test for assets method

* API status label test.

* Disable php7.2 for now on travis until the count(null) issues are remedied

* Add serial to update.

* API model not found should return a 200
2018-02-24 19:01:34 -08:00
..
Controllers Api tests (#5096) 2018-02-24 19:01:34 -08:00
Middleware Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
Requests Allow auto increment through the API (#4690) 2018-01-03 17:24:32 -08:00
Traits Putting uniqueUndeleted into a trait for use across models 2016-07-26 01:39:30 -07:00
Transformers Api tests (#5096) 2018-02-24 19:01:34 -08:00
Kernel.php Comment out the nullable middleware until we have a chance to check all model validators 2017-10-02 16:36:43 -07:00