snipe-it/tests/unit
Daniel Meltzer 638a7b2d91 Assetcontroller cleanup (#5858)
* Extract method/cleanup

* Remove apiStore method that is unusued since api controllers.

* Use proper model exception

* Remove old user importer.  This is now supported by the general importer framework.

* Refactor AssetsController methods.

This is a giant diff without many functional changes, mostly cosmetic.
I've pulled a number of methods out of assetscontroller, preferring
instead to create some more targetted controllers for related actions.
I think this cleans up the file some, and suggests some places for
future targetted improvement.

Fix weird missing things.

* Fix Unit test failing after date changes.

* Pass valid string to be translated.

* Some method cleanup for codacy.

* Extract trait for common checkout uses and codacy fixes.
2018-07-16 17:44:03 -07:00
..
_bootstrap.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
AccessoryTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
AssetMaintenanceTest.php Assetcontroller cleanup (#5858) 2018-07-16 17:44:03 -07:00
AssetModelTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
AssetTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
BaseTest.php Progress towards better email notifications (#3911) 2017-08-31 11:14:21 -07:00
CategoryTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
CompanyTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
ConsumableTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
CustomFieldTest.php Fixes #4445: prevents assigned assets from being checked out in bulk checkout (#5421) 2018-04-25 02:39:23 -07:00
DepartmentTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
DepreciationTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
ImporterTest.php Importer2 checkout (#5771) 2018-07-05 12:22:24 -07:00
LocationTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
ManufacturerTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
NotificationTest.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
PermissionsTest.php Importer tests + Fixes (#3733) 2017-07-11 20:37:02 -07:00
SnipeModelTest.php Importer tests + Fixes (#3733) 2017-07-11 20:37:02 -07:00
StatuslabelTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
SupplierTest.php Disable broken tests (#5073) 2018-02-22 21:46:58 -08:00
UserTest.php Fixed #5150 - added lastname first initial as username format 2018-03-05 21:39:05 -08:00