Commit graph

776 commits

Author SHA1 Message Date
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 4b690e8e1f Updated test to check for nulling
Signed-off-by: snipe <snipe@snipe.net>
2024-08-14 10:01:56 +01:00
Marcus Moore 3f8ac59f4c
Reference the entry in the components_assets table 2024-08-13 15:31:16 -07:00
Marcus Moore ae0a6d66f3
Update tests
https://masteringlaravel.io/daily/2024-02-09-watch-out-for-this-when-testing-artisan-commands
2024-08-13 12:16:08 -07:00
Marcus Moore 321839e074
Fix namespace 2024-08-13 12:14:56 -07:00
snipe c163d6774f
Merge pull request #15198 from spencerrlongg/feature/add_trait_to_request
Add MayContainCustomFields Trait to Asset Update Request
2024-08-13 14:12:52 +01:00
snipe 9d354ca657
Merge pull request #15266 from uberbrady/checkout_to_fixer
Checkout-to fixer
2024-08-12 16:34:19 +01:00
Brady Wetherington f80cf666b1 Mark tests as incomplete for the new artisan assigned_to fixer 2024-08-12 13:46:56 +01:00
snipe ce5be8ac24
Merge pull request #15100 from Godmartinz/depreciation_percentage
Some checks are pending
Crowdin Action / upload-sources-to-crowdin (push) Waiting to run
Docker images (Alpine) / docker (push) Waiting to run
Docker images / docker (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Waiting to run
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Waiting to run
Added Depreciation Percentage as an option
2024-08-12 10:10:25 +01:00
snipe 76b114d820 Added test
Signed-off-by: snipe <snipe@snipe.net>
2024-08-10 18:21:41 +01:00
snipe 07b1e3fb90 Fixed tests
Signed-off-by: snipe <snipe@snipe.net>
2024-08-10 16:55:48 +01:00
snipe f76fbe75e0
Merge pull request #15221 from marcusmoore/fixes/bulk-checkin-logging
Some checks failed
Crowdin Action / upload-sources-to-crowdin (push) Has been cancelled
Docker images (Alpine) / docker (push) Has been cancelled
Docker images / docker (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Has been cancelled
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Has been cancelled
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Has been cancelled
Fixed accessories and consumables not being logged correctly during bulk check-in
2024-08-08 10:43:59 +01:00
snipe cc1e356c35
Merge pull request #15232 from marcusmoore/shift-126036
Some checks are pending
Crowdin Action / upload-sources-to-crowdin (push) Waiting to run
Docker images (Alpine) / docker (push) Waiting to run
Docker images / docker (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Waiting to run
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Waiting to run
Updated PHPUnit to v10
2024-08-08 01:23:07 +01:00
Marcus Moore 4a2d2f7336
Improve variable name 2024-08-07 13:32:30 -07:00
Marcus Moore 41437e4d8f
Merge branch 'develop' into fixes/bulk-checkin-logging
# Conflicts:
#	app/Http/Controllers/Users/BulkUsersController.php
2024-08-07 13:06:59 -07:00
Brady Wetherington 1706ddd511 working fixup script, but failing tests. But I have tests! 2024-08-07 16:06:00 +01:00
Marcus Moore a220986d16
Switch to snake case 2024-08-06 16:13:51 -07:00
Marcus Moore 2a8ac81eed
Fix namespace 2024-08-06 15:22:13 -07:00
snipe 766b370264
Merge pull request #15229 from marcusmoore/bug/sc-26552
Some checks are pending
Crowdin Action / upload-sources-to-crowdin (push) Waiting to run
Docker images (Alpine) / docker (push) Waiting to run
Docker images / docker (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.1) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.2) (push) Waiting to run
Tests in MySQL / PHP ${{ matrix.php-version }} (8.3) (push) Waiting to run
Tests in SQLite / PHP ${{ matrix.php-version }} (8.1.1) (push) Waiting to run
Disallowed checking out components to different companies and fixed number remaining counts
2024-08-06 21:33:55 +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 84e447af09
Fix test namespaces 2024-08-06 13:21:36 -07:00
Marcus Moore 0aff35b622
Scaffold additional failed tests 2024-08-06 12:07:34 -07:00
Marcus Moore 374812f8fe
Add failing test 2024-08-06 10:48:38 -07:00
Marcus Moore 94e00b8a3e
Use new accessory checkout relationship 2024-08-05 17:26:11 -07:00
Marcus Moore f2b78d18a4
Merge branch 'develop' into fixes/bulk-checkin-logging
# Conflicts:
#	app/Http/Controllers/Users/BulkUsersController.php
2024-08-05 17:25:54 -07:00
Marcus Moore 35e7a3163c
Implement test case 2024-08-05 16:54:31 -07:00
Marcus Moore 96fafa6952
Improve readability 2024-08-05 16:36:29 -07:00
Marcus Moore a55693211f
Move test class 2024-08-05 16:27:04 -07:00
Marcus Moore 1acd24fdbe
Re-order helpers 2024-08-05 16:26:25 -07:00
Marcus Moore 59b7d5db4b
Remove comment 2024-08-05 16:25:14 -07:00
Marcus Moore 16aa47509b
Implement test for assets 2024-08-05 16:24:52 -07:00
Marcus Moore d1bb3ef6bf
Scaffold two tests 2024-08-05 16:19:09 -07:00
Marcus Moore 5cd9dd4a67
Add assertion to ensure user cannot perform bulk actions on self 2024-08-05 16:17:24 -07:00
Marcus Moore fc405d9d73
Assert redirected to correct place 2024-08-05 16:14:01 -07:00
Marcus Moore 5786ff5035
Add assertion for success message 2024-08-05 16:11:07 -07:00
Marcus Moore 8a206a6d92
Add assertion 2024-08-05 16:10:12 -07:00
Marcus Moore b06501dd02
Add assertions 2024-08-05 16:02:59 -07:00
Marcus Moore e3049fffd4
Remove comment 2024-08-05 15:50:53 -07:00
Marcus Moore 5ecdb7e07c
Add validation test 2024-08-05 15:50:09 -07:00
Marcus Moore 4ed3347f52
Add permission check 2024-08-05 15:43:38 -07:00
Marcus Moore 364775dcfe
Improve readability 2024-08-05 15:42:03 -07:00
Marcus Moore 480e4f3a69
Improve readability 2024-08-05 15:16:40 -07:00
Marcus Moore 78a0417ee9
Add another user into the mix 2024-08-05 15:11:18 -07:00
spencerrlongg 61312c2eec oops, mysql 2024-07-31 12:07:50 -05:00