[BE] 테스트용 bean definition overriding 설정 파일 분리 #968
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
기존
기본 테스트 설정파일 (
test/resources/application.yml
)에서 빈 오버라이딩 설정 추가변경
빈 오버라이딩 설정 파일 분리
bean-definition-overriding-config/properties
모든 테스트에 오버라이딩을 허용하여 차후 생길 수 있는 문제의 발생 가능성이 있어서 해당 설정 분리
필요한 경우에만
@TestPropertySource
어노테이션을 통해서 해당 설정 파일 추가해서 오버라이딩 진행