File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/test/java/com/somemore/center/service/query Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 22
33import com .somemore .IntegrationTestSupport ;
44import com .somemore .center .domain .Center ;
5+ import com .somemore .center .repository .center .CenterJpaRepository ;
56import com .somemore .center .repository .center .CenterRepository ;
67import com .somemore .global .exception .BadRequestException ;
8+ import org .junit .jupiter .api .BeforeEach ;
79import org .junit .jupiter .api .DisplayName ;
810import org .junit .jupiter .api .Test ;
911import org .springframework .beans .factory .annotation .Autowired ;
@@ -24,6 +26,14 @@ class CenterSignServiceTest extends IntegrationTestSupport {
2426 @ Autowired
2527 private CenterRepository centerRepository ;
2628
29+ @ Autowired
30+ private CenterJpaRepository centerJpaRepository ;
31+
32+ @ BeforeEach
33+ void cleanUp () {
34+ centerJpaRepository .deleteAll ();
35+ }
36+
2737 @ DisplayName ("계정 ID로 센터 ID를 조회할 수 있다." )
2838 @ Test
2939 void getIdByAccountId () {
You can’t perform that action at this time.
0 commit comments