snipe-it/tests
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
..
_data Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
_envs Functional Tests Improvements (#5095) 2018-02-24 12:03:33 -08:00
_output Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
_support Add laravel routes to javascript (#4092) 2017-10-01 12:59:55 -07:00
acceptance Dept tests 2017-05-23 03:03:30 -07:00
api Api tests (#5096) 2018-02-24 19:01:34 -08:00
functional Functional Tests Improvements (#5095) 2018-02-24 12:03:33 -08:00
unit Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
_bootstrap.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
acceptance.suite.yml Switched configs around a little 2016-04-13 02:41:55 -07:00
api.suite.yml Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
functional.suite.yml Functional Tests Improvements (#5095) 2018-02-24 12:03:33 -08:00
TestCase.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
TODO.testing Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
unit.suite.yml Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00