woowacourse-teams/2023-diggin-room

PasswordEncoder 변경 및 DirtiesContext 삭제

Opened this issue · 0 comments

기능 설명

PasswordEncoder 변경

PasswordEncoder를 도메인 서비스로 보고 변경 했습니다.
참고

현재 PasswordEncoder가 도메인안에있어서 Spring Security로 PasswordEncoder가 변경되는 상황에서 유연하게 대처하기 힘들기 때문에 수정해봤습니다.
이런느낌

DirtiesContext 삭제

Controller에서 DirtiesContext 대신 매 테스트마다 Database만 TRUNCATE 하도록 변경했습니다.
16초->6초 개선

image image

개발 일정

No response

자식 이슈

No response

부가 설명

No response