mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 14:09:43 -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 |
||
---|---|---|
.. | ||
AccessoriesController.php | ||
AssetModelsController.php | ||
AssetsController.php | ||
CategoriesController.php | ||
CompaniesController.php | ||
ComponentsController.php | ||
ConsumablesController.php | ||
CustomFieldsController.php | ||
DepreciationsController.php | ||
GroupsController.php | ||
ImportController.php | ||
LicensesController.php | ||
LocationsController.php | ||
ManufacturersController.php | ||
SettingsController.php | ||
StatuslabelsController.php | ||
SuppliersController.php | ||
UsersController.php |