diff --git a/tests/php-unit-tests/unitary-tests/core/AttributeDefTest.inc.php b/tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.inc.php similarity index 95% rename from tests/php-unit-tests/unitary-tests/core/AttributeDefTest.inc.php rename to tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.inc.php index fa70c5e3b..624642a13 100644 --- a/tests/php-unit-tests/unitary-tests/core/AttributeDefTest.inc.php +++ b/tests/php-unit-tests/unitary-tests/core/AttributeDefinitionTest.inc.php @@ -11,7 +11,7 @@ use MetaModel; * @preserveGlobalState disabled * @backupGlobals disabled */ -class AttributeDefTest extends ItopDataTestCase { +class AttributeDefinitionTest extends ItopDataTestCase { const CREATE_TEST_ORG = true; protected function setUp(): void { @@ -86,7 +86,7 @@ PHP, <<Get('contacts_list'); -\$ormLinkset->AddItem(MetaModel::NewObject('Person', [])); +\$ormLinkset->AddItem(MetaModel::NewObject('lnkContactToTicket', [])); \$oObject->Set('contacts_list', \$ormLinkset); PHP, false, @@ -164,7 +164,7 @@ PHP, 'UserLocal', 'password', <<Set('password', \$ormPassword); PHP,