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

230 Commits

Author SHA1 Message Date
eb09a99eb0 Merge pull request #14707 from spencerrlongg/bug/sc-24912
Bulk Edit Tests and Tweaks
2024-05-15 11:22:31 +01:00
5b86ee7291 a couple more tests 2024-05-07 17:19:00 -05:00
ad2ba252ee two new test 2024-05-07 15:11:33 -05:00
17ef20ea92 alright, in a working place 2024-05-07 14:08:47 -05:00
386b2839e8 Added tests
Signed-off-by: snipe <snipe@snipe.net>
2024-05-07 18:59:24 +01:00
4850227c04 Merge pull request #14655 from snipe/feature/sc-25381/simpler_overdue_endpoints
Refactored due/overdue for audit, added due/overdue for checkin API endpoint and GUI
2024-05-02 13:11:51 +01:00
53cadf80fa Removed assertions for factories
Signed-off-by: snipe <snipe@snipe.net>
2024-05-02 12:24:31 +01:00
e177993bcc notes and some playing around, push for eod 2024-05-01 16:57:11 -05:00
6a7f3ecc2e new test not quite working, almost there 2024-05-01 16:12:56 -05:00
39cc99c89b all initial attributes set in test 2024-04-30 22:22:59 -05:00
25480293dc change keys to values, add test 2024-04-30 18:03:26 -05:00
494ec5cd9c Added tests for due-or-overdue
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 20:59:04 +01:00
87de67e4a9 Fixed test for checkin
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 19:06:26 +01:00
9167f8a3ba Cleaned up tests
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 18:57:07 +01:00
2d112f227a Call the asset factory directly
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 15:44:37 +01:00
2484a9db2c Added tests
Signed-off-by: snipe <snipe@snipe.net>
2024-04-26 14:01:29 +01:00
4295bad12f Separate test cases 2024-04-25 14:07:56 -07:00
12418ae91b WIP: allow EU style purchase cost via api 2024-04-24 17:18:29 -07:00
bdd43b7134 Merge pull request #14602 from uberbrady/fix_saving_encrypted_custom_fields
Re-enabled updating encrypted custom fields via API [sc-41465]
2024-04-23 10:20:55 +01:00
45f5eaac5b Extract CanSkipTests trait 2024-04-22 10:32:37 -07:00
ab45975883 Mark custom fields tests as 'incomplete' if the DB is mysql 2024-04-22 13:11:36 +01:00
1d64692fd6 Add two test cases 2024-04-17 15:23:26 -07:00
4c02a63acc Removed activated attribute on test users
Signed-off-by: snipe <snipe@snipe.net>
2024-04-17 20:29:51 +01:00
0fc9fc7516 Minor updates to tests
Signed-off-by: snipe <snipe@snipe.net>
2024-04-17 20:29:01 +01:00
86e274faa3 Added API tests
Signed-off-by: snipe <snipe@snipe.net>
2024-04-17 10:47:48 +01:00
9d0ea857fe Import facade 2024-04-16 17:14:17 -07:00
f763aea4fc Update tests to send post request 2024-04-16 17:13:18 -07:00
e16c04250e Improve model factories 2024-04-16 16:58:28 -07:00
ad99aa460b Remove unneeded imports 2024-04-16 15:09:49 -07:00
e47f64f62d Separate test methods 2024-04-16 15:03:05 -07:00
eefe377159 Correct order of arguments 2024-04-16 10:51:33 -07:00
870612be1c Break 'update' API statements into its own test file. Split tests up 2024-04-16 15:34:28 +01:00
266424ff0e Some simple renames for better readability as suggested by Marcus 2024-04-16 15:17:02 +01:00
67a8e0b5c6 This re-enables the ability to update encrypted custom fields via the API 2024-04-15 18:46:11 +01:00
675717ff82 Add failing test 2024-03-25 13:46:22 -07:00
5f4c964309 Account for last_audit_date not being provided 2024-03-25 12:45:11 -07:00
66ba96d531 Set last_audit_date to valid format in StoreAssetRequest 2024-03-25 12:38:12 -07:00
d1dffb84dc Remove InteractsWithSettings trait for remaining tests 2024-03-18 12:33:45 -07:00
541350916d Merge branch 'develop' into chore/sc-25071
# Conflicts:
#	tests/Feature/Api/Users/UpdateUserApiTest.php
#	tests/Feature/Notifications/AccessoryWebhookTest.php
#	tests/Feature/Notifications/AssetWebhookTest.php
#	tests/Feature/Notifications/ComponentWebhookTest.php
#	tests/Feature/Notifications/ConsumableWebhookTest.php
#	tests/Feature/Notifications/LicenseWebhookTest.php
2024-03-18 12:33:31 -07:00
09d69b214b Merge pull request #14436 from marcusmoore/chore/sc-24901
Organized notification test cases
2024-03-18 12:20:23 +00:00
8003615b1f Move InteractsWithSettings to TestCase 2024-03-14 14:15:11 -07:00
948dc3c974 Remove duplicate trait 2024-03-14 13:11:53 -07:00
485f11c945 Move trait usage to parent TestCase 2024-03-14 12:56:49 -07:00
dbc79655b0 Cleanup 2024-03-14 12:02:56 -07:00
02f6aa6161 Add group tag for new test case 2024-03-14 11:19:36 -07:00
07c5264b41 Organize email check in notifications test 2024-03-14 11:17:47 -07:00
7c178a6a78 Merge branch 'develop' into chore/sc-24901
# Conflicts:
#	tests/Feature/Notifications/AssetWebhookTest.php
2024-03-14 11:13:14 -07:00
8aed26aab1 Remove unneeded test cases 2024-03-13 16:56:54 -07:00
01d5d4c2c8 Improve data provider name 2024-03-13 16:37:50 -07:00
9dbb4abe7e Fixed tests
Signed-off-by: snipe <snipe@snipe.net>
2024-03-01 12:30:05 +00:00