Commit graph

210 commits

Author SHA1 Message Date
Marcus Moore b63962e90b
Add additional assertions 2024-04-10 16:01:15 -07:00
Marcus Moore 4434de6241
Add test case 2024-04-10 15:47:26 -07:00
Marcus Moore 6d572424ac
Add validation around dates 2024-04-10 14:02:25 -07:00
Marcus Moore d371d14c1f
Implement test 2024-04-10 13:49:07 -07:00
Marcus Moore 72eda1e909
Improve naming 2024-04-10 13:29:31 -07:00
Marcus Moore 7dbf8a8a8e
Add tests for asset and location check out 2024-04-10 13:28:52 -07:00
Marcus Moore 37ebf1827f
Organization 2024-04-10 12:12:44 -07:00
Marcus Moore e65252725a
Add simple test for LogListener 2024-04-10 11:52:59 -07:00
Marcus Moore 6f53f2ac64
Finish implementing test case 2024-04-10 11:43:50 -07:00
Marcus Moore deaba46e1c
Merge branch 'develop' into chore/sc-25103/add-tests-around-asset-checkout 2024-04-10 11:01:35 -07:00
Marcus Moore 675717ff82
Add failing test 2024-03-25 13:46:22 -07:00
Marcus Moore 5f4c964309
Account for last_audit_date not being provided 2024-03-25 12:45:11 -07:00
Marcus Moore 66ba96d531
Set last_audit_date to valid format in StoreAssetRequest 2024-03-25 12:38:12 -07:00
Marcus Moore b368acf941
Implement test case 2024-03-20 17:46:09 -07:00
Marcus Moore 530291f81c
Implement some tests 2024-03-20 14:28:27 -07:00
Marcus Moore 393dc51167
Add assertions around the event dispatch 2024-03-20 13:44:26 -07:00
Marcus Moore 984cc7a4f2
Scaffold tests around asset checkout via web 2024-03-20 13:29:25 -07:00
Marcus Moore d1dffb84dc
Remove InteractsWithSettings trait for remaining tests 2024-03-18 12:33:45 -07:00
Marcus Moore 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
snipe 09d69b214b
Merge pull request #14436 from marcusmoore/chore/sc-24901
Organized notification test cases
2024-03-18 12:20:23 +00:00
Marcus Moore 8003615b1f
Move InteractsWithSettings to TestCase 2024-03-14 14:15:11 -07:00
Marcus Moore 948dc3c974
Remove duplicate trait 2024-03-14 13:11:53 -07:00
Marcus Moore 485f11c945
Move trait usage to parent TestCase 2024-03-14 12:56:49 -07:00
Marcus Moore dbc79655b0
Cleanup 2024-03-14 12:02:56 -07:00
Marcus Moore 02f6aa6161
Add group tag for new test case 2024-03-14 11:19:36 -07:00
Marcus Moore 07c5264b41
Organize email check in notifications test 2024-03-14 11:17:47 -07:00
Marcus Moore 7c178a6a78
Merge branch 'develop' into chore/sc-24901
# Conflicts:
#	tests/Feature/Notifications/AssetWebhookTest.php
2024-03-14 11:13:14 -07:00
Marcus Moore 8aed26aab1
Remove unneeded test cases 2024-03-13 16:56:54 -07:00
Marcus Moore 01d5d4c2c8
Improve data provider name 2024-03-13 16:37:50 -07:00
snipe 9dbb4abe7e Fixed tests
Signed-off-by: snipe <snipe@snipe.net>
2024-03-01 12:30:05 +00:00
Marcus Moore 551354b1bb
Add group annotation for tests 2024-02-27 18:05:18 -08:00
Marcus Moore 03b7891edc
Remove unneeded factory states 2024-02-27 18:03:53 -08:00
Marcus Moore 8978dff054
Consolidate helpers into trait 2024-02-27 18:01:08 -08:00
Marcus Moore d20844fefa
Improve readability by extracting additional helpers 2024-02-27 17:57:12 -08:00
Marcus Moore cd579a04dd
Improve readability by extracting fireCheckOutEvent method 2024-02-27 17:52:18 -08:00
Marcus Moore 15b8140bff
Fix test helper 2024-02-27 17:48:17 -08:00
Marcus Moore 9a93ad2e06
Remove unneeded factory state 2024-02-27 17:46:27 -08:00
Marcus Moore bd4d3aa52b
Improve readability by extracting additional helpers 2024-02-27 17:44:19 -08:00
Marcus Moore bf32ab177f
Improve readability by extracting fireCheckInEvent method 2024-02-27 17:37:07 -08:00
Marcus Moore 2ea883aa15
Move Notification::fake() to setUp method 2024-02-27 17:23:30 -08:00
Marcus Moore 43cc296582
Consolidate additional tests 2024-02-27 17:14:35 -08:00
Marcus Moore 4c1aadd74e
Improve naming and inline helper 2024-02-27 17:09:22 -08:00
Marcus Moore 7d3719bf70
Consolidate some slack notification tests 2024-02-27 17:07:40 -08:00
Marcus Moore c08164d864
Update test names 2024-02-27 16:48:17 -08:00
Marcus Moore b156aa74a5
Update helper name 2024-02-27 16:45:49 -08:00
Marcus Moore 5084e5d3ef
Improve variable type 2024-02-27 12:23:26 -08:00
Marcus Moore 69022bb8b6
Implement test 2024-02-27 11:12:35 -08:00
Marcus Moore 29d729171c
Align test with actual values passed from the web 2024-02-26 11:13:39 -08:00
Marcus Moore c401c88702
Scope event fake 2024-02-22 16:19:33 -08:00
Marcus Moore b55a19cebb
Add assertion event is dispatched with correct timestamp 2024-02-22 13:50:46 -08:00