From 88ec50d39ece52d233145466f7c69ab732932722 Mon Sep 17 00:00:00 2001 From: devxb Date: Tue, 24 Sep 2024 01:26:18 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20jwt=20token=20=EC=9E=AC=EB=93=B1?= =?UTF-8?q?=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/org/gitanimals/gotcha/domain/GotchaServiceTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/org/gitanimals/gotcha/domain/GotchaServiceTest.kt b/src/test/kotlin/org/gitanimals/gotcha/domain/GotchaServiceTest.kt index 78c100f..8c756dc 100644 --- a/src/test/kotlin/org/gitanimals/gotcha/domain/GotchaServiceTest.kt +++ b/src/test/kotlin/org/gitanimals/gotcha/domain/GotchaServiceTest.kt @@ -4,6 +4,7 @@ import io.kotest.core.spec.style.DescribeSpec import io.kotest.matchers.nulls.shouldNotBeNull import org.junit.jupiter.api.DisplayName import org.springframework.test.context.ContextConfiguration +import java.util.* @ContextConfiguration( classes = [ @@ -19,7 +20,6 @@ internal class GotchaServiceTest( context("GotchaType으로 default를 입력받으면,") { it("random한 GotchaResponse를 응답한다.") { val result = gotchaService.gotcha(1000L, GotchaType.DEFAULT) - result.shouldNotBeNull() } } From 8c51fe2d68e13c50c7c3e988d5990d5799fe6f6b Mon Sep 17 00:00:00 2001 From: devxb Date: Tue, 24 Sep 2024 01:27:09 +0900 Subject: [PATCH 2/2] =?UTF-8?q?build:=20=EC=98=A4=ED=83=80=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- src/main/resources/application.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index da936a4..3fe4433 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -72,7 +72,7 @@ jobs: "GH_OAUTH_SECRET=${{ secrets.GH_OAUTH_SECRET }}" "INTERNAL_SECRET=${{ secrets.INTERNAL_SECRET }}" "SLACK_TOKEN=${{ secrets.SLACK_TOKEN }}" - "JWT_KEY= ${{ secrets.JWT_KEY }}" + "JWT_KEY=${{ secrets.JWT_KEY }}" deploy: needs: build diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 4346385..0572dfa 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -24,6 +24,7 @@ netx.backpressure=40 netx.logging.level=info github.token= +jwt.key= oauth.client.id.github= oauth.client.secret.github=