snipe-it/database/factories
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
..
AccessoryFactory.php Fixes #1044 - adds suppliers and image to accessories (#4266) 2017-10-19 16:25:24 -07:00
ActionLogFactory.php Seed with demo images 2017-10-28 05:46:43 -07:00
AssetFactory.php Seed with demo images 2017-10-28 05:46:43 -07:00
AssetModelFactory.php Seed with demo images 2017-10-28 05:46:43 -07:00
CategoryFactory.php Make HDD into HDD/SSD for factory 2017-10-07 06:16:36 -07:00
ComponentsFactory.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
ConsumableFactory.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
CustomFieldsFactory.php Custom field import repair (#3968) 2017-09-18 12:29:08 -07:00
DepartmentsFactory.php Department seeder/factory 2017-10-07 03:18:36 -07:00
DepreciationFactory.php Depreciations factory 2017-10-07 05:30:53 -07:00
LicenseFactory.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
ManufacturerFactory.php Seed with demo images 2017-10-28 05:46:43 -07:00
ModelFactory.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
StatusLabelFactory.php [WIP] Improvements to unit tests. (#3574) 2017-06-12 17:39:03 -07:00
UserFactory.php Api tests (#5096) 2018-02-24 19:01:34 -08:00