mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 23:19:42 -08:00
7ee172888d
* 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 |
||
---|---|---|
.. | ||
_bootstrap.php | ||
ApiAssetsCest.php | ||
ApiComponentsAssetsCest.php | ||
ApiComponentsCest.php |