snipe-it/app
Andrea Bergamasco 99cc8293ef Fixed undefined metod in unit/PermissionTest (#3422)
* 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

* Fixed undefined method

* Fixed initial underscore trimmed by str_slug

* CustomFieldTest now works where intl PHP extension is not installed

If a server doesn't have the intl php extension installed, the custom fields tests failed. Now the tests perform the same check done in the CustomField class.
2017-03-14 08:39:03 -07:00
..
Console Remove unused method 2017-01-25 03:10:44 -08:00
Events Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Exceptions REST API - Refactoring of routes file, more tests added (#3345) 2017-02-23 16:32:35 -08:00
Helpers Fixes #2422 - Adds bulk edit for select user attributes 2017-03-10 20:07:44 -08:00
Http AssetTransformer refactoring, restored tests (#3407) 2017-03-14 08:37:39 -07:00
Importer Vue importer (#3235) 2017-01-25 21:29:23 -08:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Listeners Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Models Fixed undefined metod in unit/PermissionTest (#3422) 2017-03-14 08:39:03 -07:00
Notifications Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
Policies Fixed path in comments 2017-01-11 14:50:13 -08:00
Presenters Added additional permissions for checkin/checkout buttons 2017-03-11 12:14:10 -08:00
Providers Sigh. 2017-02-17 18:30:48 -08:00