Skip to content

Commit aec5e7b

Browse files
LPD-70061 Obvious
1 parent 9d2ec21 commit aec5e7b

File tree

1 file changed

+0
-6
lines changed
  • modules/apps/fragment/fragment-entry-processor/fragment-entry-processor-freemarker-test/src/testIntegration/java/com/liferay/fragment/entry/processor/freemarker/test

1 file changed

+0
-6
lines changed

modules/apps/fragment/fragment-entry-processor/fragment-entry-processor-freemarker-test/src/testIntegration/java/com/liferay/fragment/entry/processor/freemarker/test/FreeMarkerFragmentEntryProcessorTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -724,32 +724,26 @@ private void _assertContainsFileEntryInfo(
724724
String html, FileEntry fileEntry) {
725725

726726
Assert.assertTrue(
727-
"Missing externalReferenceCode. Value: " + html,
728727
html.contains(
729728
"\"externalReferenceCode\": \"" +
730729
fileEntry.getExternalReferenceCode()));
731730
Assert.assertTrue(
732-
"Missing fileEntryId. Value: " + html,
733731
html.contains("\"fileEntryId\": " + fileEntry.getFileEntryId()));
734732
Assert.assertTrue(
735-
"Missing title. Value: " + html,
736733
html.contains("\"title\": \"" + fileEntry.getFileName()));
737734
}
738735

739736
private void _assertContainsJournalArticleInfo(
740737
String html, JournalArticle journalArticle) {
741738

742739
Assert.assertTrue(
743-
"Missing externalReferenceCode. Value: " + html,
744740
html.contains(
745741
"\"externalReferenceCode\": \"" +
746742
journalArticle.getExternalReferenceCode()));
747743
Assert.assertTrue(
748-
"Missing resourcePrimKey. Value: " + html,
749744
html.contains(
750745
"\"resourcePrimKey\": " + journalArticle.getResourcePrimKey()));
751746
Assert.assertTrue(
752-
"Missing title. Value: " + html,
753747
html.contains("\"urlTitle\": \"" + journalArticle.getUrlTitle()));
754748
}
755749

0 commit comments

Comments
 (0)