Skip to content

Commit f7f33bb

Browse files
committed
✅ test: e2e 테스트 수정
1 parent 6a9c07c commit f7f33bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/test/user/e2e/resetPassword.e2e-spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ describe('PATCH api/user/password E2E Test', () => {
2222
const uuid = 'test-reset-password-uuid';
2323
const redisKey = `${REDIS_KEYS.USER_RESET_PASSWORD_KEY}:${uuid}`;
2424
const userEntity = UserFixture.createUserFixture();
25-
await redisService.set(redisKey, JSON.stringify(userEntity));
25+
const savedUser = await userRepository.save(userEntity);
26+
await redisService.set(redisKey, JSON.stringify(savedUser.id));
2627
const updatedPassword = 'test1234@';
2728

2829
// when

0 commit comments

Comments
 (0)