Skip to content

Commit

Permalink
common filter activeprofile 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
CDBchan committed Oct 5, 2023
1 parent a9f53cc commit 54e2473
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
services:
mysql_db:
image: mysql:8.0
image: mysql:8.0.23
ports:
- 3306:3306 # HOST:CONTAINER
env:
Expand Down
1 change: 1 addition & 0 deletions secondhand/src/main/resources/application-testDB.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://mysql_db:3306/second_hand?allowPublicKeyRetrieval=true&useSSL=false
username: root
password: 1234
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.codesquad.secondhand.redis.util.RedisUtil;

@SpringBootTest
@ActiveProfiles("test")
class JwtFilterTest {

public static final long MEMBER_ID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import com.codesquad.secondhand.exception.errorcode.JwtException;

@SpringBootTest
@ActiveProfiles("test")
class SignupTokenFilterTest {

public static final long MEMBER_ID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.codesquad.secondhand.exception.errorcode.JwtException;

@SpringBootTest
@ActiveProfiles("test")
class WhiteListTokenCheckFilterTest {

public static final long MEMBER_ID = 1L;
Expand Down

0 comments on commit 54e2473

Please sign in to comment.