Commit Graph

195 Commits

Author SHA1 Message Date
Marcus Moore da8999f59a Add failing test 2025-01-22 10:21:18 -08:00
snipe 1c8d94c953 Merge pull request #15525 from akemidx/updated_ad_hoc_notes 2025-01-14 11:33:21 +00:00
Brady Wetherington 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
Marcus Moore 53de97db4e Merge branch 'develop' into saving_custom_report_template 2024-11-12 10:36:07 -08:00
Marcus Moore 5574c5fa49 Improve comments 2024-11-12 10:35:22 -08:00
Marcus Moore 4bb19152c4 Move test 2024-11-07 17:01:47 -08:00
Marcus Moore ae24b73b32 Fix action_type from "created" to" create" 2024-10-31 12:19:41 -07:00
Marcus Moore 4aedbb52fa Implement activity logging transformer tests 2024-10-31 12:15:05 -07:00
Marcus Moore 20dab4d89d Simplify tests 2024-10-30 16:50:55 -07:00
Marcus Moore e871481042 Add group 2024-10-30 16:48:42 -07:00
Marcus Moore d727b03d95 Implement activity log test 2024-10-30 14:25:07 -07:00
Marcus Moore 0cc3031864 Implement deleted log 2024-10-30 14:05:27 -07:00
Marcus Moore 59e6874a4a Scaffold test cases 2024-10-30 13:07:51 -07:00
Marcus Moore 930ef3fd11 Work on tests for activity logging 2024-10-30 12:22:59 -07:00
Marcus Moore 35f8a71c71 Test organization 2024-10-29 16:17:12 -07:00
Marcus Moore 86762c5e90 Remove marker test case 2024-10-29 16:12:34 -07:00
Marcus Moore 3c75fc2ced Move test 2024-10-29 16:12:13 -07:00
Marcus Moore b97c54a54b Improve handling of old data for text inputs 2024-10-29 11:25:54 -07:00
Marcus Moore 7777147af5 Add custom-reporting group 2024-10-28 14:42:44 -07:00
Godfrey M f29a383179 Merge branch 'develop' into seperating_notification_n_mail
# Conflicts:
#	app/Notifications/CheckoutConsumableNotification.php
2024-10-23 15:15:14 -07:00
Godfrey M 1e9922a0b0 fix moar tests 2024-10-22 16:14:36 -07:00
Marcus Moore d953519db6 Merge branch 'develop' into saving_custom_report_template 2024-10-22 15:11:18 -07:00
Marcus Moore d10fe77ee7 Merge branch 'develop' into fixes/get-id-for-current-user 2024-10-22 09:38:31 -07:00
Marcus Moore 3f79fd7ea7 Add test to ensure icon component does not end in newline 2024-10-21 17:07:40 -07:00
Marcus Moore a8d853c44a Remove focus group tags 2024-10-17 15:26:27 -07:00
Marcus Moore 979e4502ff Have getIdForCurrentUser method return null if FMCS enabled, user is not super admin, and does not have company 2024-10-17 15:14:39 -07:00
Godfrey M cdd4fef7df attempt to fix tests p2 2024-10-17 13:34:55 -07:00
Marcus Moore 5306e1cd15 Merge branch 'develop' into saving_custom_report_template
# Conflicts:
#	resources/views/partials/forms/edit/location-select.blade.php
#	resources/views/partials/forms/edit/manufacturer-select.blade.php
#	resources/views/partials/forms/edit/model-select.blade.php
#	resources/views/partials/forms/edit/supplier-select.blade.php
#	resources/views/reports/custom.blade.php
2024-10-15 12:32:01 -07:00
snipe 1f34657734 Fixed test
Signed-off-by: snipe <snipe@snipe.net>
2024-10-10 12:30:35 +01:00
Marcus Moore e974c96eda Update to created_by 2024-09-26 12:41:16 -07:00
Marcus Moore 2004e58b53 Merge branch 'develop' into updated_ad_hoc_notes 2024-09-26 12:29:28 -07:00
Marcus Moore 47763d1e1a Add tests for adding notes to assets 2024-09-26 12:13:36 -07:00
Marcus Moore 6e16f589bd Remove reference to old trait 2024-09-17 17:00:06 -07:00
Marcus Moore 8bba11e1bb Merge branch 'develop' into saving_custom_report_template
# Conflicts:
#	app/Http/Controllers/ReportsController.php
#	resources/views/partials/forms/edit/category-select.blade.php
#	resources/views/partials/forms/edit/company-select.blade.php
#	resources/views/partials/forms/edit/location-select.blade.php
#	resources/views/partials/forms/edit/manufacturer-select.blade.php
#	resources/views/partials/forms/edit/model-select.blade.php
#	resources/views/partials/forms/edit/status-select.blade.php
#	resources/views/reports/custom.blade.php
2024-09-17 15:26:35 -07:00
snipe 1582d81e5b Change user_id to created_by
Signed-off-by: snipe <snipe@snipe.net>
2024-09-17 22:16:41 +01:00
Godfrey M f04a4a3cf5 adds test 2024-09-04 12:21:49 -07:00
snipe 59725f2031 Removed extra debugging in test
Signed-off-by: snipe <snipe@snipe.net>
2024-08-19 11:57:40 +01:00
snipe 44f18d210e Remove MBP constraint
Signed-off-by: snipe <snipe@snipe.net>
2024-08-16 10:36:35 +01:00
snipe e8deecc9b4 Removed MBP constraint on model
This was creating a validation error since the name already exists

Signed-off-by: snipe <snipe@snipe.net>
2024-08-16 10:35:42 +01:00
snipe ce5be8ac24 Merge pull request #15100 from Godmartinz/depreciation_percentage
Added Depreciation Percentage as an option
2024-08-12 10:10:25 +01:00
snipe cc1e356c35 Merge pull request #15232 from marcusmoore/shift-126036
Updated PHPUnit to v10
2024-08-08 01:23:07 +01:00
Marcus Moore 3e832e5e94 Revert "Define test classes as final"
This reverts commit 95516b0343.
2024-08-06 13:31:17 -07:00
Marcus Moore 82e795b642 Revert "Add return types to test methods"
This reverts commit 83fb6826ee.
2024-08-06 13:30:34 -07:00
Shift 95516b0343 Define test classes as final 2024-08-06 20:25:22 +00:00
Shift 83fb6826ee Add return types to test methods 2024-08-06 20:25:22 +00:00
Shift b1e92ab866 Declare data providers as static 2024-08-06 20:25:21 +00:00
Shift 96241cb67c Adopt PHP attributes in test classes 2024-08-06 20:25:21 +00:00
Marcus Moore 0aff35b622 Scaffold additional failed tests 2024-08-06 12:07:34 -07:00
snipe 759ab78f80 Added more redirects
Signed-off-by: snipe <snipe@snipe.net>
2024-07-26 11:27:36 +01:00
snipe 64082ada1e Updated test
Signed-off-by: snipe <snipe@snipe.net>
2024-07-25 22:08:51 +01:00