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= 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() } }