snipe-it/app/Http/Controllers
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
..
Api Api tests (#5096) 2018-02-24 19:01:34 -08:00
Auth Stub and 404 registration routes 2017-12-19 22:14:51 -08:00
AccessoriesController.php More ajax menu fixes 2017-10-28 11:17:52 -07:00
ActionlogController.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
AssetMaintenancesController.php Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
AssetModelsController.php Fixed misc UI permissions elements 2018-01-20 04:39:31 -08:00
AssetsController.php Disallow checkout asset to itself 2018-02-23 05:52:19 -08:00
CategoriesController.php Fixed misc UI permissions elements 2018-01-20 04:39:31 -08:00
CompaniesController.php Fixed handling deleting old images better 2017-11-07 11:28:13 -08:00
ComponentsController.php Fixed incorrect component not found string 2018-02-22 16:36:01 -08:00
ConsumablesController.php More ajax menu fixes 2017-10-28 11:17:52 -07:00
Controller.php Updated docblocks 2016-04-07 13:21:09 -07:00
CustomFieldsController.php Fixes #4236 - validate the regex custom validation (#4380) 2017-11-04 17:06:14 -07:00
CustomFieldsetsController.php Fixes #4027 - proper redirect on fieldset delete 2017-09-27 16:02:29 -07:00
DashboardController.php Call migrate before passport install 2017-10-11 12:42:31 -07:00
DepartmentsController.php Use ImageUploadRequest 2017-12-06 14:38:01 -08:00
DepreciationsController.php Depreciation view 2017-10-17 11:20:05 -07:00
GroupsController.php Prepopulate ther groups array on create 2017-12-05 18:17:11 -08:00
ImportsController.php Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
LicensesController.php Fixed #4589 - Licence deployed to asset issue 2017-12-12 05:43:06 -08:00
LocationsController.php Fixed misc UI permissions elements 2018-01-20 04:39:31 -08:00
ManufacturersController.php Fixed #4668 - wrong gate on manufacturer save 2018-02-16 17:45:27 -08:00
ModalController.php Added “new” buttons for manufacturer and category in asset model creation 2017-12-19 20:30:46 -08:00
ProfileController.php Use ImageUploadRequest $request on user profile update 2017-12-06 14:42:14 -08:00
ReportsController.php Do not try to show depreciation report if no depreciations are set up 2018-01-25 13:16:49 -06:00
SettingsController.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
StatuslabelsController.php Fixed misc UI permissions elements 2018-01-20 04:39:31 -08:00
SuppliersController.php Fixed misc UI permissions elements 2018-01-20 04:39:31 -08:00
UsersController.php Add departments to usr export 2018-02-01 15:54:49 -06:00
ViewAssetsController.php Error handling for when log ID has no match on asset accept 2017-11-07 22:25:24 -08:00