From de9ffb45073e38bf3fdb2b2f0fb4f02c13dcb2bd Mon Sep 17 00:00:00 2001 From: Max Weng Date: Wed, 23 Oct 2024 23:41:23 -0700 Subject: [PATCH] fix test --- tests/onboardingReward.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/onboardingReward.test.ts b/tests/onboardingReward.test.ts index 1105b5ce..b1b8ca65 100644 --- a/tests/onboardingReward.test.ts +++ b/tests/onboardingReward.test.ts @@ -40,7 +40,7 @@ describe('collect onboarding reward', () => { const response = await userController.collectOnboarding(member); const userProfile = response.user; - expect(userProfile.onboardingCollected).toBe(true); + expect(userProfile.firstTasksCompleted).toBe(true); expect(userProfile.points).toBe(60); }); @@ -63,7 +63,7 @@ describe('collect onboarding reward', () => { const member = UserFactory.fake({ bio: 'this is a bio', profilePicture: 'https://pfp.com', - onboardingCollected: true, + firstTasksCompleted: true, }); const resume = ResumeFactory.fake({ user: member, isResumeVisible: true });