Marcus Moore
|
f16c79bb9a
|
Improve event assertions
|
2024-05-22 15:38:23 -07:00 |
|
Marcus Moore
|
1fe22e4b7b
|
Re-order scenarios
|
2024-05-22 13:33:41 -07:00 |
|
Marcus Moore
|
c7fa2c04ad
|
Add scenario
|
2024-05-22 13:33:12 -07:00 |
|
Marcus Moore
|
8ca882d1c8
|
Complete a scenario
|
2024-05-22 13:23:49 -07:00 |
|
Marcus Moore
|
5d368990dc
|
Fix assertion
|
2024-05-22 13:15:51 -07:00 |
|
Brady Wetherington
|
4adbd7af4c
|
Merge branch 'develop' into snipeit_v7_laravel10
|
2024-05-22 21:02:11 +01:00 |
|
Marcus Moore
|
1935a4aca3
|
Improve scenario naming
|
2024-05-22 12:47:33 -07:00 |
|
snipe
|
6fad085a7d
|
Removed debug in test
Signed-off-by: snipe <snipe@snipe.net>
|
2024-05-22 12:37:49 +01:00 |
|
snipe
|
4b23ef4021
|
Added new test
Signed-off-by: snipe <snipe@snipe.net>
|
2024-05-22 12:35:03 +01:00 |
|
snipe
|
e1eb457f3d
|
Update tests/Feature/Api/Users/UpdateUserApiTest.php
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
|
2024-05-22 11:03:46 +01:00 |
|
snipe
|
51025aad57
|
Update tests/Feature/Api/Users/UpdateUserApiTest.php
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
|
2024-05-22 11:03:38 +01:00 |
|
snipe
|
14c4765be2
|
Update tests/Feature/Api/Users/UpdateUserApiTest.php
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
|
2024-05-22 11:00:52 +01:00 |
|
snipe
|
3afe996755
|
Update tests/Feature/Api/Users/UpdateUserApiTest.php
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
|
2024-05-22 11:00:47 +01:00 |
|
snipe
|
0891bd747a
|
Update tests/Feature/Api/Users/UpdateUserApiTest.php
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
|
2024-05-22 11:00:31 +01:00 |
|
Godfrey M
|
0327e71f0f
|
made message the keys, cleaned up array
|
2024-05-21 13:26:29 -07:00 |
|
Godfrey M
|
69c2cf2c4f
|
fixed assetcheckin test, created redirect option test
|
2024-05-21 13:13:25 -07:00 |
|
snipe
|
e3561ad38e
|
Added tests
Signed-off-by: snipe <snipe@snipe.net>
|
2024-05-21 09:56:57 +01:00 |
|
Brady Wetherington
|
f633dbba64
|
Merge branch 'develop' into snipeit_v7_laravel10
|
2024-05-20 12:55:29 +01:00 |
|
snipe
|
72c85f93b6
|
Fixed test
Signed-off-by: snipe <snipe@snipe.net>
|
2024-05-15 16:47:45 +01:00 |
|
snipe
|
eb09a99eb0
|
Merge pull request #14707 from spencerrlongg/bug/sc-24912
Bulk Edit Tests and Tweaks
|
2024-05-15 11:22:31 +01:00 |
|
spencerrlongg
|
5b86ee7291
|
a couple more tests
|
2024-05-07 17:19:00 -05:00 |
|
spencerrlongg
|
ad2ba252ee
|
two new test
|
2024-05-07 15:11:33 -05:00 |
|
spencerrlongg
|
17ef20ea92
|
alright, in a working place
|
2024-05-07 14:08:47 -05:00 |
|
snipe
|
386b2839e8
|
Added tests
Signed-off-by: snipe <snipe@snipe.net>
|
2024-05-07 18:59:24 +01:00 |
|
Brady Wetherington
|
5b02a43957
|
Merge branch 'develop' into snipeit_v7_laravel10
|
2024-05-06 18:44:03 +01:00 |
|
snipe
|
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 |
|
snipe
|
53cadf80fa
|
Removed assertions for factories
Signed-off-by: snipe <snipe@snipe.net>
|
2024-05-02 12:24:31 +01:00 |
|
spencerrlongg
|
e177993bcc
|
notes and some playing around, push for eod
|
2024-05-01 16:57:11 -05:00 |
|
spencerrlongg
|
6a7f3ecc2e
|
new test not quite working, almost there
|
2024-05-01 16:12:56 -05:00 |
|
spencerrlongg
|
39cc99c89b
|
all initial attributes set in test
|
2024-04-30 22:22:59 -05:00 |
|
spencerrlongg
|
25480293dc
|
change keys to values, add test
|
2024-04-30 18:03:26 -05:00 |
|
snipe
|
494ec5cd9c
|
Added tests for due-or-overdue
Signed-off-by: snipe <snipe@snipe.net>
|
2024-04-26 20:59:04 +01:00 |
|
snipe
|
87de67e4a9
|
Fixed test for checkin
Signed-off-by: snipe <snipe@snipe.net>
|
2024-04-26 19:06:26 +01:00 |
|
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 |
|
Marcus Moore
|
4354e126b1
|
Scaffold tests
|
2024-02-14 11:11:08 -08:00 |
|
Marcus Moore
|
02f39472f9
|
Remove duplicate test
|
2024-02-14 11:10:59 -08:00 |
|
Marcus Moore
|
af513946a2
|
Implement test
|
2024-02-14 10:48:49 -08:00 |
|
Marcus Moore
|
ad1846fed6
|
Implement tests
|
2024-02-13 17:50:26 -08:00 |
|
Marcus Moore
|
9ab56fe9ca
|
Implement tests
|
2024-02-13 17:04:53 -08:00 |
|
Marcus Moore
|
f708b8b299
|
Implement test
|
2024-02-13 14:30:26 -08:00 |
|
Marcus Moore
|
391b832613
|
Implement test
|
2024-02-13 13:34:55 -08:00 |
|
Marcus Moore
|
b653d19579
|
Implement test
|
2024-02-13 13:29:54 -08:00 |
|
Marcus Moore
|
31a75bd252
|
Add some assertions
|
2024-02-13 13:17:02 -08:00 |
|
Marcus Moore
|
0506f3bef9
|
Scaffold additional tests
|
2024-02-13 12:35:31 -08:00 |
|
Marcus Moore
|
852b0b3f11
|
Scaffold additional tests
|
2024-02-13 12:15:59 -08:00 |
|
Marcus Moore
|
307b39bd38
|
Implement tests around asset check in
|
2024-02-13 12:03:27 -08:00 |
|
snipe
|
60ba898167
|
Merge pull request #14255 from marcusmoore/chore/sc-24805
Added LDAP group tag to LDAP tests
|
2024-02-13 13:42:51 +00:00 |
|
Marcus Moore
|
c81bc1d2ee
|
Scaffold tests around asset check in
|
2024-02-12 17:54:22 -08:00 |
|
Marcus Moore
|
7154d23759
|
Pass the correct variable to the route helper
|
2024-02-12 16:45:18 -08:00 |
|
Marcus Moore
|
df23fd0dee
|
Remove usused import
|
2024-02-12 16:35:54 -08:00 |
|
Marcus Moore
|
adfb8895df
|
Improve factory state name
|
2024-02-12 16:31:32 -08:00 |
|