From a2fd84339860f919a1512e620df445a7c48b7037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Mon, 16 Nov 2026 12:53:27 +0100 Subject: [PATCH] test(tests): add unit tests for session-based basket repository Added tests for the SessionBasketRepository to ensure correct behavior when finding, persisting, and deleting baskets in the session. --- .../Standalones/App/Cqs}/Actions/Ranges/CreateRangeInputTest.php | 0 .../Standalones/App/Cqs}/Actions/Ranges/UpdateRangeInputTest.php | 0 .../Standalones/App/Cqs}/Actions/Slides/CreateSlideInputTest.php | 0 .../Standalones/App}/Services/DataTableServiceTest.php | 0 .../Standalones/App}/Services/ImageOptimizerServiceTest.php | 0 .../Standalones}/Infra/Adapters/Locks/LaravelCacheLockTest.php | 0 .../Infra/Adapters/Repositories/SessionBasketRepositoryTest.php | 0 .../Infra/Adapters/Services/SessionOrderBuilderManagerTest.php | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename tests/{Unit/App => Integration/Standalones/App/Cqs}/Actions/Ranges/CreateRangeInputTest.php (100%) rename tests/{Unit/App => Integration/Standalones/App/Cqs}/Actions/Ranges/UpdateRangeInputTest.php (100%) rename tests/{Unit/App => Integration/Standalones/App/Cqs}/Actions/Slides/CreateSlideInputTest.php (100%) rename tests/{Unit => Integration/Standalones/App}/Services/DataTableServiceTest.php (100%) rename tests/{Unit => Integration/Standalones/App}/Services/ImageOptimizerServiceTest.php (100%) rename tests/{Unit => Integration/Standalones}/Infra/Adapters/Locks/LaravelCacheLockTest.php (100%) rename tests/{Unit => Integration/Standalones}/Infra/Adapters/Repositories/SessionBasketRepositoryTest.php (100%) rename tests/{Unit => Integration/Standalones}/Infra/Adapters/Services/SessionOrderBuilderManagerTest.php (100%) diff --git a/tests/Unit/App/Actions/Ranges/CreateRangeInputTest.php b/tests/Integration/Standalones/App/Cqs/Actions/Ranges/CreateRangeInputTest.php similarity index 100% rename from tests/Unit/App/Actions/Ranges/CreateRangeInputTest.php rename to tests/Integration/Standalones/App/Cqs/Actions/Ranges/CreateRangeInputTest.php diff --git a/tests/Unit/App/Actions/Ranges/UpdateRangeInputTest.php b/tests/Integration/Standalones/App/Cqs/Actions/Ranges/UpdateRangeInputTest.php similarity index 100% rename from tests/Unit/App/Actions/Ranges/UpdateRangeInputTest.php rename to tests/Integration/Standalones/App/Cqs/Actions/Ranges/UpdateRangeInputTest.php diff --git a/tests/Unit/App/Actions/Slides/CreateSlideInputTest.php b/tests/Integration/Standalones/App/Cqs/Actions/Slides/CreateSlideInputTest.php similarity index 100% rename from tests/Unit/App/Actions/Slides/CreateSlideInputTest.php rename to tests/Integration/Standalones/App/Cqs/Actions/Slides/CreateSlideInputTest.php diff --git a/tests/Unit/Services/DataTableServiceTest.php b/tests/Integration/Standalones/App/Services/DataTableServiceTest.php similarity index 100% rename from tests/Unit/Services/DataTableServiceTest.php rename to tests/Integration/Standalones/App/Services/DataTableServiceTest.php diff --git a/tests/Unit/Services/ImageOptimizerServiceTest.php b/tests/Integration/Standalones/App/Services/ImageOptimizerServiceTest.php similarity index 100% rename from tests/Unit/Services/ImageOptimizerServiceTest.php rename to tests/Integration/Standalones/App/Services/ImageOptimizerServiceTest.php diff --git a/tests/Unit/Infra/Adapters/Locks/LaravelCacheLockTest.php b/tests/Integration/Standalones/Infra/Adapters/Locks/LaravelCacheLockTest.php similarity index 100% rename from tests/Unit/Infra/Adapters/Locks/LaravelCacheLockTest.php rename to tests/Integration/Standalones/Infra/Adapters/Locks/LaravelCacheLockTest.php diff --git a/tests/Unit/Infra/Adapters/Repositories/SessionBasketRepositoryTest.php b/tests/Integration/Standalones/Infra/Adapters/Repositories/SessionBasketRepositoryTest.php similarity index 100% rename from tests/Unit/Infra/Adapters/Repositories/SessionBasketRepositoryTest.php rename to tests/Integration/Standalones/Infra/Adapters/Repositories/SessionBasketRepositoryTest.php diff --git a/tests/Unit/Infra/Adapters/Services/SessionOrderBuilderManagerTest.php b/tests/Integration/Standalones/Infra/Adapters/Services/SessionOrderBuilderManagerTest.php similarity index 100% rename from tests/Unit/Infra/Adapters/Services/SessionOrderBuilderManagerTest.php rename to tests/Integration/Standalones/Infra/Adapters/Services/SessionOrderBuilderManagerTest.php