laravel-shop/tests/Feature/Loan
Fabian @ Blax Software 99fd71f4ae BF commands, A command tests, I traits
- Implement CommandReinstallTest to verify the behavior of the shop:reinstall command, including force and fresh flags, and confirmation prompts.
- Create CommandReleaseExpiredStocksTest to test the shop:release-expired-stocks command, ensuring it correctly releases expired stock claims based on configuration.
- Add CommandStatsTest to validate the shop:stats command, checking counts and revenue calculations for products, purchases, carts, and orders.
- Introduce LoanShopCommandsTest to cover loanable products in stock management, ensuring accurate reporting of assigned, used, and available stock.
- Implement LoanStockEventsTest to verify that stock events are dispatched correctly during loan operations, including checkouts and returns.
- Add NextAvailableAtTest to ensure the nextAvailableAt method behaves correctly for loanable products, considering loans and claims.
2026-05-17 13:25:34 +02:00
..
CheckOutToTest.php feat: promote IsLoanableProduct to MayBeLoanableProduct on Product 2026-05-16 12:17:38 +02:00
LoanEventsTest.php feat: promote IsLoanableProduct to MayBeLoanableProduct on Product 2026-05-16 12:17:38 +02:00
LoanLifecycleTest.php I loanable product type, tiered pricing, lifecycle events, host helpers 2026-05-15 10:27:59 +02:00
LoanPricingTest.php I loanable product type, tiered pricing, lifecycle events, host helpers 2026-05-15 10:27:59 +02:00
LoanShopCommandsTest.php BF commands, A command tests, I traits 2026-05-17 13:25:34 +02:00
LoanStockEventsTest.php BF commands, A command tests, I traits 2026-05-17 13:25:34 +02:00