diff --git a/api/src/logic/backfills/index.ts b/api/src/logic/backfills/index.ts index c197420..77b42ac 100644 --- a/api/src/logic/backfills/index.ts +++ b/api/src/logic/backfills/index.ts @@ -7,3 +7,5 @@ export { mergeSocialButterflyProgress } from './social-butterfly-backfill' export { mergeLandArchitectProgress } from './land-architect-backfill' export { mergeEmoteCreatorProgress } from './emote-creator-backfill' export { mergeWearableDesignerProgress } from './wearable-designer-backfill' +export { mergeProfileProProgress } from './profile-pro-backfill' +export { mergeOpenForBusinessProgress } from './open-for-business-backfill' diff --git a/api/test/unit/logic/backfill-merger.spec.ts b/api/test/unit/logic/backfill-merger.spec.ts index 6f93cc3..f9e0060 100644 --- a/api/test/unit/logic/backfill-merger.spec.ts +++ b/api/test/unit/logic/backfill-merger.spec.ts @@ -11,6 +11,8 @@ import { mergeFashionistaProgress, mergeLandArchitectProgress, mergeMovesMasterProgress, + mergeOpenForBusinessProgress, + mergeProfileProProgress, mergeSocialButterflyProgress, mergeWearableDesignerProgress, mergeWearablesEquipmentProgress @@ -64,7 +66,9 @@ describe('Backfill Merger', () => { [BadgeId.EVENT_ENTHUSIAST, mergeEventEnthusiastProgress], [BadgeId.MOVES_MASTER, mergeMovesMasterProgress], [BadgeId.SOCIAL_BUTTERFLY, mergeSocialButterflyProgress], - [BadgeId.LAND_ARCHITECT, mergeLandArchitectProgress] + [BadgeId.LAND_ARCHITECT, mergeLandArchitectProgress], + [BadgeId.PROFILE_PRO, mergeProfileProProgress], + [BadgeId.OPEN_FOR_BUSINESS, mergeOpenForBusinessProgress] ])('should merge the progress for the user when the badge id is %s', (badgeId: BadgeId, merger: jest.Mock) => { const mergerMock = merger as jest.Mock