Skip to content

Commit

Permalink
Chore: github actions 빌드 에러 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
BYEONGRYEOL committed Apr 28, 2024
1 parent 561e966 commit f63c3c2
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ dependencies {

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation group: 'com.h2database', name: 'h2', version: '2.1.214'

implementation group: 'org.hibernate.orm', name: 'hibernate-core', version: '6.2.0.Final'
runtimeOnly 'com.mysql:mysql-connector-j'
Expand All @@ -69,7 +70,7 @@ dependencies {

}

tasks.named('test') {
test {
useJUnitPlatform()
}

Expand Down
28 changes: 28 additions & 0 deletions src/main/resources/application-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
spring:
security:
oauth2:
client:
registration:
kakao:
redirect-uri: "http://localhost:8080/login/oauth2/code/kakao"
apple:
redirectUri: "http://localhost:8080/login/oauth2/code/apple"

datasource:
url: jdbc:h2:mem:test
username: sa
password:
driver-class-name: org.h2.Driver
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: 'true'
use_sql_comments: 'true'
show_sql: 'true'
database-platform: org.hibernate.dialect.MySQL8Dialect
redis:
host: localhost


2 changes: 1 addition & 1 deletion src/test/java/com/gt/genti/service/DiscordLogTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@Slf4j
public class DiscordLogTest {
@Test
void loggingError(){
void loggingError() {
log.error("오류");
log.warn("워닝");
log.info("정보");
Expand Down

0 comments on commit f63c3c2

Please sign in to comment.