테스트용 설정 분리
This commit is contained in:
		@@ -1,12 +0,0 @@
 | 
			
		||||
package kr.co.vividnext.sodalive
 | 
			
		||||
 | 
			
		||||
import org.junit.jupiter.api.Test
 | 
			
		||||
import org.springframework.boot.test.context.SpringBootTest
 | 
			
		||||
 | 
			
		||||
@SpringBootTest
 | 
			
		||||
class SodaliveApplicationTests {
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    fun contextLoads() {
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										38
									
								
								src/test/resources/application.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								src/test/resources/application.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
logging:
 | 
			
		||||
    level:
 | 
			
		||||
        com:
 | 
			
		||||
            amazonaws:
 | 
			
		||||
                util:
 | 
			
		||||
                    EC2MetadataUtils: error
 | 
			
		||||
 | 
			
		||||
cloud:
 | 
			
		||||
    aws:
 | 
			
		||||
        credentials:
 | 
			
		||||
            accessKey: ${APP_AWS_ACCESS_KEY}
 | 
			
		||||
            secretKey: ${APP_AWS_SECRET_KEY}
 | 
			
		||||
        s3:
 | 
			
		||||
            bucket: ${S3_BUCKET}
 | 
			
		||||
        cloudFront:
 | 
			
		||||
            host: ${CLOUD_FRONT_HOST}
 | 
			
		||||
        region:
 | 
			
		||||
            static: ap-northeast-2
 | 
			
		||||
        stack:
 | 
			
		||||
            auto: false
 | 
			
		||||
 | 
			
		||||
jwt:
 | 
			
		||||
    header: Authorization
 | 
			
		||||
    token-validity-in-seconds: ${JWT_TOKEN_VALIDITY_TIME}
 | 
			
		||||
    secret: ${JWT_SECRET}
 | 
			
		||||
 | 
			
		||||
spring:
 | 
			
		||||
    redis:
 | 
			
		||||
        host: localhost
 | 
			
		||||
        port: 6379
 | 
			
		||||
 | 
			
		||||
    jpa:
 | 
			
		||||
        hibernate:
 | 
			
		||||
            ddl-auto: create-drop
 | 
			
		||||
        properties:
 | 
			
		||||
            hibernate:
 | 
			
		||||
                show_sql: true
 | 
			
		||||
                format_sql: true
 | 
			
		||||
		Reference in New Issue
	
	Block a user