snipe
|
9167f8a3ba
|
Cleaned up tests
Signed-off-by: snipe <snipe@snipe.net>
|
2024-04-26 18:57:07 +01:00 |
|
snipe
|
2d112f227a
|
Call the asset factory directly
Signed-off-by: snipe <snipe@snipe.net>
|
2024-04-26 15:44:37 +01:00 |
|
snipe
|
2484a9db2c
|
Added tests
Signed-off-by: snipe <snipe@snipe.net>
|
2024-04-26 14:01:29 +01:00 |
|
Marcus Moore
|
4295bad12f
|
Separate test cases
|
2024-04-25 14:07:56 -07:00 |
|
Marcus Moore
|
12418ae91b
|
WIP: allow EU style purchase cost via api
|
2024-04-24 17:18:29 -07:00 |
|
Marcus Moore
|
783a24eb68
|
Add test for ParseCurrencyMethod
|
2024-04-24 17:17:42 -07:00 |
|
Brady Wetherington
|
3f5c5cbe82
|
Merge branch 'develop' into snipeit_v7_laravel10
|
2024-04-24 16:24:43 +01:00 |
|
snipe
|
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 |
|
Marcus Moore
|
45f5eaac5b
|
Extract CanSkipTests trait
|
2024-04-22 10:32:37 -07:00 |
|
Brady Wetherington
|
ab45975883
|
Mark custom fields tests as 'incomplete' if the DB is mysql
|
2024-04-22 13:11:36 +01:00 |
|
Marcus Moore
|
1d64692fd6
|
Add two test cases
|
2024-04-17 15:23:26 -07:00 |
|
snipe
|
6f195cb8ec
|
Merge pull request #14591 from snipe/bug/sc-25258/naive_fix_for_user_scoping
First fix for user FMCS scoping
|
2024-04-17 21:49:53 +01:00 |
|
snipe
|
4c02a63acc
|
Removed activated attribute on test users
Signed-off-by: snipe <snipe@snipe.net>
|
2024-04-17 20:29:51 +01:00 |
|
snipe
|
0fc9fc7516
|
Minor updates to tests
Signed-off-by: snipe <snipe@snipe.net>
|
2024-04-17 20:29:01 +01:00 |
|
snipe
|
86e274faa3
|
Added API tests
Signed-off-by: snipe <snipe@snipe.net>
|
2024-04-17 10:47:48 +01:00 |
|
Marcus Moore
|
9d0ea857fe
|
Import facade
|
2024-04-16 17:14:17 -07:00 |
|
Marcus Moore
|
f763aea4fc
|
Update tests to send post request
|
2024-04-16 17:13:18 -07:00 |
|
Marcus Moore
|
e16c04250e
|
Improve model factories
|
2024-04-16 16:58:28 -07:00 |
|
Marcus Moore
|
ad99aa460b
|
Remove unneeded imports
|
2024-04-16 15:09:49 -07:00 |
|
Marcus Moore
|
e47f64f62d
|
Separate test methods
|
2024-04-16 15:03:05 -07:00 |
|
Marcus Moore
|
eefe377159
|
Correct order of arguments
|
2024-04-16 10:51:33 -07:00 |
|
Brady Wetherington
|
870612be1c
|
Break 'update' API statements into its own test file. Split tests up
|
2024-04-16 15:34:28 +01: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 |
|
Marcus Moore
|
fa5016713f
|
Implement test
|
2024-04-10 17:29:44 -07:00 |
|
Marcus Moore
|
f28a82de71
|
Implement some tests, scaffold others
|
2024-04-10 17:27:07 -07:00 |
|
Marcus Moore
|
7c2fae7b9d
|
Scaffold api test cases
|
2024-04-10 17:08:45 -07:00 |
|
Marcus Moore
|
70934e54cf
|
Remove unneeded comment
|
2024-04-10 16:34:14 -07:00 |
|
Marcus Moore
|
f6ad275030
|
Clean ups
|
2024-04-10 16:28:48 -07:00 |
|
Marcus Moore
|
6666a78936
|
Organization
|
2024-04-10 16:19:04 -07:00 |
|
Marcus Moore
|
bbb2cdcceb
|
Add note
|
2024-04-10 16:15:43 -07:00 |
|
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
|
1aeaa0094a
|
Fix assigned to in labels
|
2024-04-09 13:52:54 -07:00 |
|
Brady Wetherington
|
65e21faa3e
|
Merge branch 'develop' into snipeit_v7_laravel10
Hopefully, last merge?
|
2024-04-02 20:34:04 +01: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
|
a28bee86ba
|
Extract method
|
2024-03-14 16:33:49 -07:00 |
|
Marcus Moore
|
fb64892971
|
Re-order
|
2024-03-14 16:26:27 -07:00 |
|
Marcus Moore
|
95ff692b14
|
Improve InteractsWithSettings name
|
2024-03-14 15:06:52 -07: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
|
1afb724606
|
Remove commented (and old) test cases
|
2024-03-14 13:11:43 -07:00 |
|
Marcus Moore
|
451281d833
|
Delete test cases with only commented code
|
2024-03-14 13:11:27 -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 |
|
Brady Wetherington
|
5b9120ba6c
|
Merge branch 'develop' into snipeit_v7_laravel10
|
2024-03-05 19:22:37 +00: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 |
|
Marcus Moore
|
4caadcfa19
|
Clear pending checkout acceptances when checking in asset via api
|
2024-02-22 13:33:16 -08:00 |
|
Marcus Moore
|
714fc63050
|
Have legacy locations updated upon api asset checkin
|
2024-02-22 13:14:30 -08:00 |
|
Marcus Moore
|
2df026bcb5
|
Allow updating asset default location when checking in asset via api
|
2024-02-22 12:40:14 -08:00 |
|
Marcus Moore
|
3ae8adfbf9
|
Remove incomplete flag on test case
|
2024-02-21 12:33:32 -08:00 |
|
Marcus Moore
|
aa2632fe46
|
Merge branch 'develop' into chore/sc-24808
|
2024-02-21 12:33:06 -08:00 |
|
Brady Wetherington
|
8f2843bfcf
|
Merge branch 'develop' into snipeit_v7_laravel10
Had to re-generate composer.lock, and re-do package.json and rebuild assets as well.
|
2024-02-21 20:22:28 +00:00 |
|
Marcus Moore
|
bc0a7542ac
|
Change enableWebhook to enableSlackWebhook
|
2024-02-14 18:17:34 -08:00 |
|
Marcus Moore
|
aec59f2da6
|
Update assertion to be more correct
|
2024-02-14 12:27:42 -08:00 |
|
Marcus Moore
|
905df5ec25
|
Consolidate test cases
|
2024-02-14 12:14:27 -08:00 |
|
Marcus Moore
|
bacfdc5049
|
Scaffold additional tests
|
2024-02-14 11:33:03 -08:00 |
|
Marcus Moore
|
3cc72021b6
|
Move notification test to notifications test suite
|
2024-02-14 11:16:31 -08:00 |
|