Files
snipe-it/app/Models
Andrea Bergamasco 7ee172888d /api_tests: Completed tests for basic CRUD for Assets and Components (#3426)
* Refactored AssetsTransformer

Casted all ids to int, escaped all text values,

* Added warranty_expires attribute to Asset model

$asset->warranty_expires contains a Carbon object with the warranty
expiration date. Returns null when either purchase_date or
warranty_months are not set.

* Ignoring php-cs cache files

* Restored asset tests expectations

Work in progress - tests still fail

* API controller refactoring, fixed HTTP status codes in responses

* Restored $request->get - debugging

* Added further checks in ApiAssetsCest::updateAssetWithPatch

* /api_tests: Fixed bugs in update() method + code formatting

* /api_tests: Minor code formatting

* /api_tests: Mirrored test code for PATCH and PUT methods

* Removed repeated code

* Test cleanup

* Fixed issues with update() through PATCH and PUT methods

* Added API test suite to .travis.yml
2017-03-31 13:48:11 -07:00
..
2016-12-30 11:44:47 -08:00
2016-12-29 14:02:18 -08:00
2017-02-21 15:39:46 -08:00
2017-01-25 21:29:23 -08:00
2016-12-29 14:02:18 -08:00
2016-04-07 13:21:09 -07:00
2016-04-07 13:21:09 -07:00
2016-12-29 14:02:18 -08:00
2016-11-16 16:56:57 -08:00
2017-02-22 22:20:57 -08:00
2016-11-16 16:56:57 -08:00
2017-01-25 21:29:23 -08:00
2017-01-13 00:12:26 -08:00
2016-03-25 01:18:05 -07:00
2017-03-10 20:57:57 -08:00