From b13e0c92a50ca28a44d4b9fe2f5b7ee47db9d31e Mon Sep 17 00:00:00 2001 From: Molkobain Date: Wed, 21 Feb 2024 18:13:12 +0100 Subject: [PATCH] :white_check_mark: Fix test case dependant to setup option Change Management Simple vs ITIL --- .../unitary-tests/core/AttributeDefinitionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php b/tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php index 122da9cbc..b3dccfc54 100644 --- a/tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php +++ b/tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.php @@ -58,7 +58,7 @@ class AttributeDefinitionTest extends ItopDataTestCase { // Note: This is test is not great as we are datamodel dependent and don't have a class with all the attribute types return [ 'AttributeDateTime' => [ - Change::class, + UserRequest::class, 'start_date', // no default value on this field <<Set('start_date', '2023-09-06 12:26:00');