diff --git a/modules/apps/fragment/fragment-test/src/testIntegration/java/com/liferay/fragment/internal/renderer/test/FragmentEntryFragmentRendererTest.java b/modules/apps/fragment/fragment-test/src/testIntegration/java/com/liferay/fragment/internal/renderer/test/FragmentEntryFragmentRendererTest.java index 8117baad0028ef..d5b0dd531c1030 100644 --- a/modules/apps/fragment/fragment-test/src/testIntegration/java/com/liferay/fragment/internal/renderer/test/FragmentEntryFragmentRendererTest.java +++ b/modules/apps/fragment/fragment-test/src/testIntegration/java/com/liferay/fragment/internal/renderer/test/FragmentEntryFragmentRendererTest.java @@ -192,7 +192,7 @@ public void testCannotExecuteFreeMarkerCodeInHTMLFragment() } @Test - public void testFragmentEntryLinkJavascriptVariables() throws Exception { + public void testFragmentEntryLinkJavaScriptVariables() throws Exception { FragmentEntry fragmentEntry = _getFragmentEntry(true); FragmentEntryLink fragmentEntryLink = @@ -219,9 +219,8 @@ public void testFragmentEntryLinkJavascriptVariables() throws Exception { content.contains( "fragmentNamespace = '" + fragmentEntryLink.getNamespace())); - Assert.assertTrue(content.contains("\"buttonType\":\"primary\"")); - Assert.assertTrue(content.contains("\"buttonSize\":\"nm\"")); + Assert.assertTrue(content.contains("\"buttonType\":\"primary\"")); } @Test