Skip to content

Commit

Permalink
LPD-27031 LPD-27034 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Jul 21, 2024
1 parent 880f2e1 commit 3cfaa75
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -49,7 +49,7 @@ public void testUpgradeProcess() throws Exception {

Assert.assertNotNull(rankingJSONObject);

Assert.assertNull(classNameLocalService.fetchClassName(oldClassNameId));
Assert.assertNull(classNameLocalService.fetchClassName(classNameId));
}

@Override
Expand Down

0 comments on commit 3cfaa75

Please sign in to comment.