3
0
mirror of https://github.com/snipe/snipe-it.git synced 2025-12-01 11:30:10 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
ae46264707 removed comment 2025-06-10 15:07:42 -07:00
f2d8665e54 adds tests 2025-06-10 15:07:04 -07:00
510a2b0889 Formatting 2025-05-12 12:03:15 -07:00
73057454c6 Fix bug in getImageUrl method 2025-05-12 11:56:40 -07:00
5a6cf2a296 Add test for existing functionality 2025-05-12 11:44:25 -07:00
eccdcc373e parent 2220828b00
author Brady Wetherington <bwetherington@grokability.com> 1728320853 +0100
committer Brady Wetherington <bwetherington@grokability.com> 1733158021 +0000

Prevent setting assigned_to without setting assigned_type

Fixed tests to include assigned_type when setting assigned_to

Add new tests for assigned_to without assigned_type

Added tighter validation to assigned_to and assigned_type, new tests

Fixed wrong comment

Fixed tests to include assigned_type when setting assigned_to

Add new tests for assigned_to without assigned_type

Fixed wrong comment
2024-12-02 16:53:08 +00:00
59725f2031 Removed extra debugging in test
Signed-off-by: snipe <snipe@snipe.net>
2024-08-19 11:57:40 +01:00
e827bc9a07 Tests on asset tags that are maximum integers and *almost* maximum... 2024-06-03 17:31:56 +01: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
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
e648da9dc5 Also do a sanity-check that the normal asset autoincrementing works 2023-07-12 16:51:23 +01:00
76191a09ed Improvements to asset_tag auto-incrementing, with auto-fixups for gaps 2023-07-12 16:39:45 +01:00
da08f6ef8c Add InteractsWithSettings trait to required tests 2023-05-01 16:05:26 -07:00
099ec3f550 Remove creation of category within category factory state 2023-03-13 16:45:43 -07:00
dd9c00195b Remove old $tester variable and usused imports 2023-03-07 17:04:46 -08:00
43ff7261b2 Remove redundant base test case 2023-03-07 16:57:55 -08:00
787f619a6b Standardize test method syntax 2023-02-07 16:28:40 -08:00
872bd29cb3 Removed repetitive tests
Signed-off-by: snipe <snipe@snipe.net>
2021-12-02 18:27:52 -08:00
21e2504f79 Trying unsuccessfully to get nested factories working
Signed-off-by: snipe <snipe@snipe.net>
2021-12-02 17:38:28 -08:00
35ba28bff9 Continuing to refactor tests
Signed-off-by: snipe <snipe@snipe.net>
2021-12-02 16:14:45 -08:00
c949a1f5f2 renamed Tests to tests 2021-12-02 15:08:26 -08:00