Skip to content

Commit

Permalink
LPD-44084 Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Dec 17, 2024
1 parent e6e8d10 commit d4210da
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -512,7 +512,8 @@ private ObjectDefinition _addObjectDefinition() throws Exception {
objectDefinition.getObjectDefinitionId()
).build());

objectDefinition.setTitleObjectFieldId(objectField.getObjectFieldId());
objectDefinition.setTitleObjectFieldId(
myTextObjectField.getObjectFieldId());

objectDefinition = _objectDefinitionLocalService.updateObjectDefinition(
objectDefinition);
Expand Down

0 comments on commit d4210da

Please sign in to comment.