diff --git a/modules/apps/headless/headless-admin-site/headless-admin-site-test/src/testIntegration/java/com/liferay/headless/admin/site/resource/v1_0/test/WidgetPageWidgetInstanceResourceTest.java b/modules/apps/headless/headless-admin-site/headless-admin-site-test/src/testIntegration/java/com/liferay/headless/admin/site/resource/v1_0/test/WidgetPageWidgetInstanceResourceTest.java index 00623c3d05fb01..0b79ae784fc631 100644 --- a/modules/apps/headless/headless-admin-site/headless-admin-site-test/src/testIntegration/java/com/liferay/headless/admin/site/resource/v1_0/test/WidgetPageWidgetInstanceResourceTest.java +++ b/modules/apps/headless/headless-admin-site/headless-admin-site-test/src/testIntegration/java/com/liferay/headless/admin/site/resource/v1_0/test/WidgetPageWidgetInstanceResourceTest.java @@ -138,7 +138,7 @@ public void testPatchSiteSiteByExternalReferenceCodeWidgetInstanceWidgetInstance postWidgetPageWidgetInstance.getWidgetName(), postWidgetPageWidgetInstance.getWidgetInstanceId()); - WidgetPageWidgetInstance pathWidgetPageWidgetInstance = + WidgetPageWidgetInstance patchWidgetPageWidgetInstance = widgetPageWidgetInstanceResource. patchSiteSiteByExternalReferenceCodeWidgetInstanceWidgetInstanceExternalReferenceCode( testGroup.getExternalReferenceCode(), @@ -146,8 +146,8 @@ public void testPatchSiteSiteByExternalReferenceCodeWidgetInstanceWidgetInstance postWidgetPageWidgetInstance); assertEquals( - postWidgetPageWidgetInstance, pathWidgetPageWidgetInstance); - assertValid(pathWidgetPageWidgetInstance); + postWidgetPageWidgetInstance, patchWidgetPageWidgetInstance); + assertValid(patchWidgetPageWidgetInstance); try { widgetPageWidgetInstanceResource.