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 95bca5c3184920..9b1a583a4e3eab 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 @@ -415,12 +415,12 @@ private ObjectDefinition _addObjectDefinition() throws Exception { LocaleUtil.US, RandomTestUtil.randomString()), false, _listTypeEntries); - ObjectField myRichText = ObjectFieldUtil.createObjectField( + ObjectField myRichTextObjectField = ObjectFieldUtil.createObjectField( ObjectFieldConstants.BUSINESS_TYPE_RICH_TEXT, ObjectFieldConstants.DB_TYPE_STRING, RandomTestUtil.randomString(), "myRichText", false); - myRichText.setLocalized(true); + myRichTextObjectField.setLocalized(true); List objectFields = Arrays.asList( new AttachmentObjectFieldBuilder( @@ -485,7 +485,7 @@ private ObjectDefinition _addObjectDefinition() throws Exception { ObjectFieldConstants.BUSINESS_TYPE_PRECISION_DECIMAL, ObjectFieldConstants.DB_TYPE_BIG_DECIMAL, RandomTestUtil.randomString(), "myPrecisionDecimal", false), - myRichText); + myRichTextObjectField); objectDefinition = _objectDefinitionLocalService.addCustomObjectDefinition(