Spencer Long
64be353156
Merge branch 'develop' into bug/sc-24884
2024-07-23 12:55:19 -05:00
snipe
24ad74f136
Updated factories
...
Signed-off-by: snipe <snipe@snipe.net>
2024-07-05 08:21:18 +01:00
Spencer Long
cdb1140f10
Merge branch 'develop' into bug/sc-24884
2024-05-23 13:53:00 -05:00
spencerrlongg
6a7f3ecc2e
new test not quite working, almost there
2024-05-01 16:12:56 -05:00
Spencer Long
53ccd196d7
Merge branch 'develop' into bug/sc-24884
2024-04-23 13:57:59 -05:00
Marcus Moore
155f5f35cd
Remove todo
2024-04-22 15:47:05 -07:00
Marcus Moore
e16c04250e
Improve model factories
2024-04-16 16:58:28 -07:00
Marcus Moore
ab561d1ce8
Simplify factory state
2024-04-16 12:36:13 -07:00
Brady Wetherington
266424ff0e
Some simple renames for better readability as suggested by Marcus
2024-04-16 15:17:02 +01:00
Brady Wetherington
67a8e0b5c6
This re-enables the ability to update encrypted custom fields via the API
2024-04-15 18:46:11 +01:00
spencerrlongg
e1addc5aef
oops, typo from conflict resolve
2024-03-20 13:16:36 -05:00
Spencer Long
b4b4927370
Merge branch 'develop' into bug/sc-24884
2024-03-20 12:36:39 -05:00
spencerrlongg
86ab880c90
buncha progress
2024-03-19 15:34:59 -05:00
Marcus Moore
9ab56fe9ca
Implement tests
2024-02-13 17:04:53 -08:00
Marcus Moore
31a75bd252
Add some assertions
2024-02-13 13:17:02 -08:00
Marcus Moore
307b39bd38
Implement tests around asset check in
2024-02-13 12:03:27 -08:00
spencerrlongg
cba5f869c0
standardize some of the validation rules, fix int/string issue
2023-11-28 21:19:19 -06:00
spencerrlongg
30dade1fba
cleanup
2023-09-11 17:35:12 -05:00
spencerrlongg
b73f20cadf
immutable when things are looping, just in case
2023-09-11 17:22:46 -05:00
slong753
27bea2abb9
just some more wip on the importer
2023-09-11 17:21:51 -05:00
slong753
1b18cd7fe6
added asset_eol_date and explicit to factory
2023-09-11 17:21:51 -05:00
Marcus Moore
ab5fed09db
Remove scopeCompanyables call from AssetsController@requestable
2023-06-22 12:36:43 -07:00
Marcus Moore
751abe1438
Re-add asset factory states
2023-03-21 09:54:55 -07:00
Marcus Moore
1fd574779b
Remove unneeded or outdated comments and update imports
2023-03-20 11:39:27 -07:00
Marcus Moore
a37d69fcf1
Replace remaining user_ids in factories
2023-03-20 11:19:34 -07:00
Marcus Moore
3849bb838d
Make a few more factories a bit more pure
2023-03-16 18:29:51 -07:00
Marcus Moore
605f214597
Add properties necessary for factories to be called in isolation
2023-03-16 17:08:18 -07:00
Marcus Moore
f47a28f790
Actually remove unused methods
2023-03-16 15:40:16 -07:00
Marcus Moore
ca677038b0
Remove unused methods
2023-03-16 15:39:02 -07:00
Marcus Moore
dfd6cf0d29
Improve factories for location relationships
2023-03-15 18:31:08 -07:00
Marcus Moore
1ff094dd47
Remove hard-coded model_id in asset factory
2023-03-14 13:56:25 -07:00
Marcus Moore
ef8007a890
Remove hard-coded status_id in asset factory
2023-03-14 13:24:50 -07:00
Marcus Moore
e8ff7cc09c
Remove hard-coded user_id in factories
2023-03-14 11:34:58 -07:00
Marcus Moore
ad9eef6393
Update deprecated faker calls in Asset and Supplier factories
2023-03-02 13:41:52 -08:00
Marcus Moore
589a5d0d8b
Merge branch 'develop' into fix/test-suite
2023-02-28 09:48:48 -08:00
Marcus Moore
bdac0f16ce
Set purchase date field to the correct format in asset factory
2023-02-23 13:39:05 -08:00
Marcus Moore
3fdf4dea1b
Use factories for relationships in asset factory
2023-02-07 16:17:05 -08:00
Ivan Nieto Vivanco
5bda4b79d2
Fixes the Asset Factory to assign example Suppliers and Locations to Assets
2021-12-11 21:36:54 -06:00
Ivan Nieto Vivanco
b43a0569b1
Fixes trying to get property 'id' of non-object in develop seeders
2021-12-11 17:26:41 -06:00
snipe
3a1e2a56d6
Use the proper ID for status ID factory
...
Signed-off-by: snipe <snipe@snipe.net>
2021-12-02 17:38:06 -08:00
snipe
35ba28bff9
Continuing to refactor tests
...
Signed-off-by: snipe <snipe@snipe.net>
2021-12-02 16:14:45 -08:00
snipe
37033fb2f7
Removed some defaul values to handle validation
...
Signed-off-by: snipe <snipe@snipe.net>
2021-12-02 15:02:11 -08:00
Godfrey M
013e168883
adds newer versions of devices for demo
2021-07-21 15:12:27 -07:00
snipe
b30bbe1740
Fixed more factories
...
Signed-off-by: snipe <snipe@snipe.net>
2021-06-11 19:41:20 -07:00
Laravel Shift
b62d1f49e4
Shift cleanup
2021-06-10 20:19:27 +00:00
Laravel Shift
104b441e0d
Shift to class based factories
2021-06-10 20:17:44 +00:00
Laravel Shift
934afa036f
Adopt Laravel coding style
...
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.
You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started.
[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
2021-06-10 20:15:52 +00:00
Daniel Meltzer
de413408f5
Port/reenable most unit tests. ( #5921 )
...
* Port/reenable most unit tests.
Should probably flesh out notifications tests in the next few days.
* Disable json checkin in ApiAssetsTest@index for now. It's broken, but hiding other real broken things.
* Re Disable Groups allowDelete
2018-07-23 06:48:21 -07:00
snipe
4f1747023a
Seed with demo images
2017-10-28 05:46:43 -07:00
snipe
7b76bbfd68
Update seeders with more locations
2017-10-28 01:03:16 -07:00