3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-01 05:17:45 +00:00
Commit Graph

162 Commits

Author SHA1 Message Date
129e9b90dc Merge pull request #13585 from spencerrlongg/eol_2
Standardize Asset EOL Date
2023-10-02 16:09:22 +01:00
90e75a3e2c Add unique() to some factory properties 2023-09-19 17:02:18 -07:00
30dade1fba cleanup 2023-09-11 17:35:12 -05:00
b73f20cadf immutable when things are looping, just in case 2023-09-11 17:22:46 -05:00
27bea2abb9 just some more wip on the importer 2023-09-11 17:21:51 -05:00
1b18cd7fe6 added asset_eol_date and explicit to factory 2023-09-11 17:21:51 -05:00
5b86c02366 Set permissions to empty object in user factory 2023-08-10 16:55:44 -07:00
41479b1ec7 Allow permissions in the user factory to be chained 2023-08-10 16:35:10 -07:00
1405e17251 Add simple test around custom asset report response 2023-08-08 17:10:36 -07:00
346ace9444 Allow users that have permission to edit their own location to see locations in select list 2023-07-13 17:37:46 -07:00
ab5fed09db Remove scopeCompanyables call from AssetsController@requestable 2023-06-22 12:36:43 -07:00
27d4d107bb Scaffold test before removing scopeCompanyables call from DepartmentsController 2023-06-07 16:10:29 -07:00
4fb86ad2fb Get name as a string and not an array 2023-06-06 16:31:26 -07:00
42a4941ad2 Ensure consumable name is valid in factory 2023-06-06 16:31:26 -07:00
d648e9a01c Added Google test user
Signed-off-by: snipe <snipe@snipe.net>
2023-05-10 09:13:34 -07:00
d70e14de61 Merge pull request #12972 from marcusmoore/bug/sc-23177
Fixes user name missing in accessory acceptance notifications
2023-05-08 13:04:37 -07:00
f96d8fe674 Add CheckoutAcceptance factory 2023-05-03 14:21:13 -07:00
b716f9f55e Merge pull request #12916 from snipe/features/auto_add_to_fieldset
Added ability to auto-add fields to new fieldsets
2023-05-03 11:04:33 -07:00
54a766c4f9 Added dynamic warranty URL to manufacturers
Signed-off-by: snipe <snipe@snipe.net>
2023-04-26 16:39:15 -07:00
6cd3cfe1ea Added new field to factory
Signed-off-by: snipe <snipe@snipe.net>
2023-04-25 20:57:03 -07:00
645f6ed692 Remove unneeded doc block 2023-04-19 17:52:44 -07:00
2d56675ade Merge branch 'develop' into bug/sc-15034
# Conflicts:
#	database/factories/SettingFactory.php
2023-04-17 17:22:55 -07:00
955539807c Merge pull request #12830 from snipe/features/adds_supplier_id_to_components
Added supplier to components and consumables
2023-04-15 18:42:23 -07:00
e7c6771e73 Added supplier to components and consumables factories for seeding
Signed-off-by: snipe <snipe@snipe.net>
2023-04-13 11:07:22 -07:00
f767cc082f Introduce improved way to interact with settings in tests 2023-04-06 17:27:18 -07:00
aefc53cfcf Explicitly disable webhook settings in tests 2023-03-30 16:40:21 -07:00
fa69a580ab Start to scaffold license checkout notification test 2023-03-23 17:18:33 -07:00
66224765ea Use factory state for webhook settings 2023-03-22 12:31:47 -07:00
751abe1438 Re-add asset factory states 2023-03-21 09:54:55 -07:00
272cc1adac Skip creating user when creating a setting since it isn't needed 2023-03-20 15:33:40 -07:00
44a91f0a2b Seed license checkouts 2023-03-20 14:18:54 -07:00
92e0c59f89 Fix typo in Keyboard accessory name 2023-03-20 12:01:39 -07:00
1fd574779b Remove unneeded or outdated comments and update imports 2023-03-20 11:39:27 -07:00
a37d69fcf1 Replace remaining user_ids in factories 2023-03-20 11:19:34 -07:00
3849bb838d Make a few more factories a bit more pure 2023-03-16 18:29:51 -07:00
605f214597 Add properties necessary for factories to be called in isolation 2023-03-16 17:08:18 -07:00
d9c1a548f1 Update deprecated faker calls 2023-03-16 17:07:46 -07:00
582c3b987b Update some faker calls 2023-03-16 16:38:21 -07:00
f47a28f790 Actually remove unused methods 2023-03-16 15:40:16 -07:00
ca677038b0 Remove unused methods 2023-03-16 15:39:02 -07:00
a50ddb4a5d Improve actionlog factory and seeder 2023-03-16 15:25:23 -07:00
2f0f9586b1 Remove default category relationship from license factory 2023-03-16 13:46:30 -07:00
345946d6d4 Remove default department relationship from user factory 2023-03-16 13:25:02 -07:00
76861c0c30 Remove hard-coded manager_id in factory 2023-03-16 12:46:47 -07:00
7062b0acaa Remove hard-coded supplier_id in factories 2023-03-16 12:41:34 -07:00
0ec885bf18 Remove hard-coded fieldset_id in factories 2023-03-15 18:49:21 -07:00
dfd6cf0d29 Improve factories for location relationships 2023-03-15 18:31:08 -07:00
b944945377 Remove hard-coded company_id in factories and update seeders 2023-03-15 14:12:34 -07:00
fb789eb048 Remove hard-coded depreciation_id in factories 2023-03-14 17:51:20 -07:00
f7577bff52 Merge branch 'develop' into fixes/purify-factories 2023-03-14 17:09:30 -07:00