From c0e56791c63db5c1c84e4d90069e79073fa76422 Mon Sep 17 00:00:00 2001 From: jihwan2da Date: Sat, 21 Oct 2023 20:49:38 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20jwt=20subject=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=9D=B8=ED=95=9C=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/gloddy/server/common/BaseApiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/gloddy/server/common/BaseApiTest.java b/src/test/java/com/gloddy/server/common/BaseApiTest.java index 6b9a1e13..cb230276 100644 --- a/src/test/java/com/gloddy/server/common/BaseApiTest.java +++ b/src/test/java/com/gloddy/server/common/BaseApiTest.java @@ -109,7 +109,7 @@ protected User createUser() { } protected String getTokenAfterLogin(User user) { - AccessPayload accessPayload = AccessPayload.of(user.getPhone().toString()); + AccessPayload accessPayload = AccessPayload.of(user.getId().toString()); return jwtTokenBuilder.createToken(accessPayload); }