diff --git a/modules/dxp/apps/portal-search-tuning/portal-search-tuning-rankings-web-test/src/testIntegration/java/com/liferay/portal/search/tuning/rankings/web/internal/upgrade/v2_0_0/test/RenameRankingUpgradeProcessTest.java b/modules/dxp/apps/portal-search-tuning/portal-search-tuning-rankings-web-test/src/testIntegration/java/com/liferay/portal/search/tuning/rankings/web/internal/upgrade/v2_0_0/test/RenameRankingUpgradeProcessTest.java index 1335aed9275fdb..2f005dd6f92195 100644 --- a/modules/dxp/apps/portal-search-tuning/portal-search-tuning-rankings-web-test/src/testIntegration/java/com/liferay/portal/search/tuning/rankings/web/internal/upgrade/v2_0_0/test/RenameRankingUpgradeProcessTest.java +++ b/modules/dxp/apps/portal-search-tuning/portal-search-tuning-rankings-web-test/src/testIntegration/java/com/liferay/portal/search/tuning/rankings/web/internal/upgrade/v2_0_0/test/RenameRankingUpgradeProcessTest.java @@ -34,12 +34,12 @@ public class RenameRankingUpgradeProcessTest @Test public void testUpgradeProcess() throws Exception { - long oldClassNameId = classNameLocalService.getClassNameId( + long classNameId = classNameLocalService.getClassNameId( "com.liferay.portal.search.tuning.rankings.web.internal.index." + "Ranking"); long classPK = counterLocalService.increment(); - addRanking(oldClassNameId, classPK); + addRanking(classNameId, classPK); runUpgrade(); @@ -49,7 +49,7 @@ public void testUpgradeProcess() throws Exception { Assert.assertNotNull(rankingJSONObject); - Assert.assertNull(classNameLocalService.fetchClassName(oldClassNameId)); + Assert.assertNull(classNameLocalService.fetchClassName(classNameId)); } @Override