From 33643fa0f667fda2f153478532659be9a878c267 Mon Sep 17 00:00:00 2001 From: KimSongMok Date: Wed, 23 Oct 2024 21:43:26 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20test=EC=96=B4=EB=85=B8=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EC=85=98=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 3 +++ src/test/java/com/splanet/splanet/SplanetApplicationTests.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88e5c6b5..26d7e5be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,6 +91,9 @@ jobs: run: ./gradlew build env: SPRING_PROFILES_ACTIVE: local + MYSQL_DATABASE: ${{ secrets.MYSQL_DATABASE }} + MYSQL_USER: ${{ secrets.MYSQL_USER }} + MYSQL_PASSWORD: ${{ secrets.MYSQL_PASSWORD }} - name: Run Tests run: ./gradlew test diff --git a/src/test/java/com/splanet/splanet/SplanetApplicationTests.java b/src/test/java/com/splanet/splanet/SplanetApplicationTests.java index 6b6fb866..b40e2597 100644 --- a/src/test/java/com/splanet/splanet/SplanetApplicationTests.java +++ b/src/test/java/com/splanet/splanet/SplanetApplicationTests.java @@ -3,7 +3,7 @@ import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -@SpringBootTest +// @SpringBootTest class SplanetApplicationTests { @Test