From 3080c5dcfeba17e4cc84de16276e4445ed402cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Fri, 14 Aug 2026 09:59:24 +0200 Subject: [PATCH] test(employees): add feature tests for employee retrieval and filtering - Implement tests for employee show and index endpoints. - Validate responses against OpenAPI specifications. --- .../Feature/Api/V1/{Employee => Employees}/EmployeeShowTest.php | 2 +- .../Api/V1/{Employee => Employees}/EmployeesIndexTest.php | 2 +- .../OpenApi/V1/{Employee => Employees}/EmployeeOpenApiTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename tests/Feature/Api/V1/{Employee => Employees}/EmployeeShowTest.php (96%) rename tests/Feature/Api/V1/{Employee => Employees}/EmployeesIndexTest.php (99%) rename tests/Feature/OpenApi/V1/{Employee => Employees}/EmployeeOpenApiTest.php (98%) diff --git a/tests/Feature/Api/V1/Employee/EmployeeShowTest.php b/tests/Feature/Api/V1/Employees/EmployeeShowTest.php similarity index 96% rename from tests/Feature/Api/V1/Employee/EmployeeShowTest.php rename to tests/Feature/Api/V1/Employees/EmployeeShowTest.php index 6195018..3dc69be 100644 --- a/tests/Feature/Api/V1/Employee/EmployeeShowTest.php +++ b/tests/Feature/Api/V1/Employees/EmployeeShowTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Tests\Feature\Api\V1\Employee; +namespace Tests\Feature\Api\V1\Employees; use Infra\Database\Models\Employee; diff --git a/tests/Feature/Api/V1/Employee/EmployeesIndexTest.php b/tests/Feature/Api/V1/Employees/EmployeesIndexTest.php similarity index 99% rename from tests/Feature/Api/V1/Employee/EmployeesIndexTest.php rename to tests/Feature/Api/V1/Employees/EmployeesIndexTest.php index c474b67..d1a57f2 100644 --- a/tests/Feature/Api/V1/Employee/EmployeesIndexTest.php +++ b/tests/Feature/Api/V1/Employees/EmployeesIndexTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Tests\Feature\Api\V1\Employee; +namespace Tests\Feature\Api\V1\Employees; use Infra\Database\Models\Employee; diff --git a/tests/Feature/OpenApi/V1/Employee/EmployeeOpenApiTest.php b/tests/Feature/OpenApi/V1/Employees/EmployeeOpenApiTest.php similarity index 98% rename from tests/Feature/OpenApi/V1/Employee/EmployeeOpenApiTest.php rename to tests/Feature/OpenApi/V1/Employees/EmployeeOpenApiTest.php index e00fb22..dd300ba 100644 --- a/tests/Feature/OpenApi/V1/Employee/EmployeeOpenApiTest.php +++ b/tests/Feature/OpenApi/V1/Employees/EmployeeOpenApiTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Tests\Feature\OpenApi\V1\Employee; +namespace Tests\Feature\OpenApi\V1\Employees; use Infra\Database\Models\Employee; use Spectator\Spectator;