From d4210da78348bda780523b948a96fa984a7142c5 Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Tue, 17 Dec 2024 14:53:37 +0530 Subject: [PATCH] LPD-44084 Rename --- .../FragmentEntryInputTemplateNodeContextHelperTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/apps/fragment/fragment-test/src/testIntegration/java/com/liferay/fragment/input/template/parser/test/FragmentEntryInputTemplateNodeContextHelperTest.java b/modules/apps/fragment/fragment-test/src/testIntegration/java/com/liferay/fragment/input/template/parser/test/FragmentEntryInputTemplateNodeContextHelperTest.java index 9b1a583a4e3eab..08be476e853f69 100644 --- a/modules/apps/fragment/fragment-test/src/testIntegration/java/com/liferay/fragment/input/template/parser/test/FragmentEntryInputTemplateNodeContextHelperTest.java +++ b/modules/apps/fragment/fragment-test/src/testIntegration/java/com/liferay/fragment/input/template/parser/test/FragmentEntryInputTemplateNodeContextHelperTest.java @@ -496,7 +496,7 @@ private ObjectDefinition _addObjectDefinition() throws Exception { true, ObjectDefinitionConstants.SCOPE_SITE, ObjectDefinitionConstants.STORAGE_TYPE_DEFAULT, objectFields); - ObjectField objectField = ObjectFieldUtil.addCustomObjectField( + ObjectField myTextObjectField = ObjectFieldUtil.addCustomObjectField( new TextObjectFieldBuilder( ).userId( TestPropsValues.getUserId() @@ -512,7 +512,8 @@ private ObjectDefinition _addObjectDefinition() throws Exception { objectDefinition.getObjectDefinitionId() ).build()); - objectDefinition.setTitleObjectFieldId(objectField.getObjectFieldId()); + objectDefinition.setTitleObjectFieldId( + myTextObjectField.getObjectFieldId()); objectDefinition = _objectDefinitionLocalService.updateObjectDefinition( objectDefinition);