snipe-it/app/Http/Controllers/Api
Daniel Meltzer 9ee2c6be57 Api tests2 (#5098)
* Cleanup

* API tests for asset models and related cleanup/improvements

* Api license test.  Tests incomplete because create/update/destroy are not implemented yet in the controller

* API Category tests.

* Manufacturers API Test.

* Implement License Create/Update/Delete Methods for API and enable test.

* Add missing gate for api.  Fixes only superadmins being able to generate Personal Access Toekns
2018-02-25 12:10:02 -08:00
..
AccessoriesController.php Constrain accessory by category ID if one is passed 2017-11-14 16:47:21 -08:00
AssetMaintenancesController.php Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
AssetModelsController.php Api tests2 (#5098) 2018-02-25 12:10:02 -08:00
AssetsController.php Removed duplicate location_id assignment 2018-02-24 14:06:10 -08:00
CategoriesController.php Add sorting and additional category types to dashboard categories 2017-11-21 20:33:30 -08:00
CompaniesController.php Fixes #4639 2017-12-15 18:54:38 -08:00
ComponentsController.php Api tests (#5096) 2018-02-24 19:01:34 -08:00
ConsumablesController.php Fixed incorrect policy reference in consumables listing 2017-11-07 23:05:29 -08:00
CustomFieldsController.php API for (dis)associating fields with fieldsets (#4881) 2018-01-22 13:14:04 -08:00
CustomFieldsetsController.php API for (dis)associating fields with fieldsets (#4881) 2018-01-22 13:14:04 -08:00
DepartmentsController.php Make department columns sortable 2018-02-21 05:04:20 -08:00
DepreciationsController.php Basic sanity checking on some of the API controllers 2017-03-11 08:03:16 -08:00
GroupsController.php Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
ImportController.php Run backups before purging and importing 2017-09-25 15:00:23 -07:00
LicensesController.php Api tests2 (#5098) 2018-02-25 12:10:02 -08:00
LocationsController.php Added - Order location by manager 2018-02-21 05:09:40 -08:00
ManufacturersController.php Allow counts in mfg sorting 2018-01-11 15:16:23 -08:00
ReportsController.php Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
SettingsController.php Added Slack test button 2018-02-22 16:35:34 -08:00
StatuslabelsController.php Api tests (#5096) 2018-02-24 19:01:34 -08:00
SuppliersController.php Removed gates from selectlist method 2017-11-09 10:51:55 -08:00
UsersController.php Api tests (#5096) 2018-02-24 19:01:34 -08:00