From 761786cc75becb2d5cda4d152c54b35cb8cae5e9 Mon Sep 17 00:00:00 2001 From: cmorenov1402 Date: Mon, 31 Mar 2025 11:09:57 +0200 Subject: [PATCH] Add get all by partial description test --- tests/Entity/ProjectApi/GetAllTest.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/Entity/ProjectApi/GetAllTest.php b/tests/Entity/ProjectApi/GetAllTest.php index 0a0876c..3a70be3 100644 --- a/tests/Entity/ProjectApi/GetAllTest.php +++ b/tests/Entity/ProjectApi/GetAllTest.php @@ -245,6 +245,17 @@ class GetAllTest extends ApiTestCase $this->testGetAllByParamList('status', $searchValues, ProjectStatus::Rejected); } + public function testGetAllByPartialDescription() + { + $partialDescription = 'Physically defined as a modulable space'; + + $this->testGetAllByParam( + 'description', + "lorem ipsum $partialDescription", + 'lorem ipsum vitae' + ); + } + public function testGetAllUnauthorized(): void { static::createClient()->request(self::METHOD, self::BASE_URI);