3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-22 15:45:40 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
1e31592c55 messing with the tests 2024-10-22 11:49:06 -07:00
cdd4fef7df attempt to fix tests p2 2024-10-17 13:34:55 -07:00
285d6897cf added a coulple test adjustments and moved mail send logic to listener 2024-10-17 12:05:36 -07:00
3e832e5e94 Revert "Define test classes as final"
This reverts commit 95516b0343.
2024-08-06 13:31:17 -07:00
82e795b642 Revert "Add return types to test methods"
This reverts commit 83fb6826ee.
2024-08-06 13:30:34 -07:00
95516b0343 Define test classes as final 2024-08-06 20:25:22 +00:00
83fb6826ee Add return types to test methods 2024-08-06 20:25:22 +00:00
b1e92ab866 Declare data providers as static 2024-08-06 20:25:21 +00:00
96241cb67c Adopt PHP attributes in test classes 2024-08-06 20:25:21 +00:00
d1dffb84dc Remove InteractsWithSettings trait for remaining tests 2024-03-18 12:33:45 -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
551354b1bb Add group annotation for tests 2024-02-27 18:05:18 -08:00
03b7891edc Remove unneeded factory states 2024-02-27 18:03:53 -08:00
8978dff054 Consolidate helpers into trait 2024-02-27 18:01:08 -08:00
d20844fefa Improve readability by extracting additional helpers 2024-02-27 17:57:12 -08:00
cd579a04dd Improve readability by extracting fireCheckOutEvent method 2024-02-27 17:52:18 -08:00
15b8140bff Fix test helper 2024-02-27 17:48:17 -08:00
9a93ad2e06 Remove unneeded factory state 2024-02-27 17:46:27 -08:00
bd4d3aa52b Improve readability by extracting additional helpers 2024-02-27 17:44:19 -08:00
bf32ab177f Improve readability by extracting fireCheckInEvent method 2024-02-27 17:37:07 -08:00
2ea883aa15 Move Notification::fake() to setUp method 2024-02-27 17:23:30 -08:00
43cc296582 Consolidate additional tests 2024-02-27 17:14:35 -08:00
4c1aadd74e Improve naming and inline helper 2024-02-27 17:09:22 -08:00
7d3719bf70 Consolidate some slack notification tests 2024-02-27 17:07:40 -08:00
c08164d864 Update test names 2024-02-27 16:48:17 -08:00
b156aa74a5 Update helper name 2024-02-27 16:45:49 -08:00
aa2632fe46 Merge branch 'develop' into chore/sc-24808 2024-02-21 12:33:06 -08:00
bc0a7542ac Change enableWebhook to enableSlackWebhook 2024-02-14 18:17:34 -08:00
3cc72021b6 Move notification test to notifications test suite 2024-02-14 11:16:31 -08:00
c357d9f01e Update data provider name 2023-04-19 18:10:23 -07:00
bad2eead4c Remove test method 2023-04-18 13:13:57 -07:00
508660b1df Skip notifications for component checkouts and checkins 2023-04-18 13:07:55 -07:00
f6cff90829 Migrate to new test settings interface 2023-04-17 17:31:12 -07:00
5b4d5cadf4 Add tests for sending webhooks on asset and license seat checkin 2023-04-05 12:57:53 -07:00
3cc3662992 Send webhook notifications for accessory checkins when enabled 2023-04-05 12:36:24 -07:00
2187310abb Simplify test case names 2023-04-05 12:27:18 -07:00
b41902976b Improve test class names 2023-04-05 12:23:11 -07:00
524249d4d7 Implement tests for webhook notifications on accessory checkout 2023-03-30 16:58:16 -07:00
b2292db3c8 Implement tests for webhook notifications on consumable checkout 2023-03-30 16:40:53 -07:00
aefc53cfcf Explicitly disable webhook settings in tests 2023-03-30 16:40:21 -07:00
134ab631d4 Add test to ensure notification is not sent for license checkouts if not enabled 2023-03-30 15:38:22 -07:00
158e1544cd Test the event instead of the checkout 2023-03-30 15:38:00 -07:00
2cbc6276f7 Implement test for license checkout notification 2023-03-27 14:09:31 -07:00
fa69a580ab Start to scaffold license checkout notification test 2023-03-23 17:18:33 -07:00