File tree 6 files changed +0
-14
lines changed
src/test/java/com/sweetypie/sweetypie/repository
6 files changed +0
-14
lines changed Original file line number Diff line number Diff line change 3
3
import com .sweetypie .sweetypie .model .Accommodation ;
4
4
import org .junit .jupiter .api .DisplayName ;
5
5
import org .junit .jupiter .api .Test ;
6
- import org .junit .jupiter .api .extension .ExtendWith ;
7
6
import org .springframework .beans .factory .annotation .Autowired ;
8
7
import org .springframework .boot .test .autoconfigure .orm .jpa .DataJpaTest ;
9
8
import org .springframework .data .domain .PageRequest ;
10
9
import org .springframework .data .domain .Pageable ;
11
- import org .springframework .test .context .junit .jupiter .SpringExtension ;
12
10
13
11
import java .util .List ;
14
12
15
13
import static org .assertj .core .api .Assertions .assertThat ;
16
14
17
15
@ DataJpaTest (properties = "spring.config.location=classpath:test.yml" )
18
- @ ExtendWith (SpringExtension .class )
19
16
class AccommodationRepositoryTest {
20
17
21
18
@ Autowired
Original file line number Diff line number Diff line change 2
2
3
3
import com .sweetypie .sweetypie .model .BookedDate ;
4
4
import org .junit .jupiter .api .Test ;
5
- import org .junit .jupiter .api .extension .ExtendWith ;
6
5
import org .springframework .beans .factory .annotation .Autowired ;
7
6
import org .springframework .boot .test .autoconfigure .orm .jpa .DataJpaTest ;
8
- import org .springframework .test .context .junit .jupiter .SpringExtension ;
9
7
10
8
import java .time .LocalDate ;
11
9
import java .util .Optional ;
14
12
15
13
16
14
@ DataJpaTest (properties = "spring.config.location=classpath:test.yml" )
17
- @ ExtendWith (SpringExtension .class )
18
15
class BookedDateRepositoryTest {
19
16
20
17
@ Autowired
Original file line number Diff line number Diff line change 16
16
import static org .assertj .core .api .Assertions .assertThat ;
17
17
18
18
@ DataJpaTest (properties = "spring.config.location=classpath:test.yml" )
19
- @ ExtendWith (SpringExtension .class )
20
19
class BookmarkRepositoryTest {
21
20
22
21
@ Autowired
Original file line number Diff line number Diff line change 3
3
import com .sweetypie .sweetypie .model .Member ;
4
4
import org .junit .jupiter .api .DisplayName ;
5
5
import org .junit .jupiter .api .Test ;
6
- import org .junit .jupiter .api .extension .ExtendWith ;
7
6
import org .springframework .beans .factory .annotation .Autowired ;
8
7
import org .springframework .boot .test .autoconfigure .orm .jpa .DataJpaTest ;
9
- import org .springframework .test .context .junit .jupiter .SpringExtension ;
10
8
11
9
import java .util .Optional ;
12
10
13
11
import static org .assertj .core .api .Assertions .assertThat ;
14
12
15
13
@ DataJpaTest (properties = "spring.config.location=classpath:test.yml" )
16
- @ ExtendWith (SpringExtension .class )
17
14
class MemberRepositoryTest {
18
15
19
16
@ Autowired
Original file line number Diff line number Diff line change 14
14
import static org .assertj .core .api .Assertions .assertThat ;
15
15
16
16
@ DataJpaTest (properties = "spring.config.location=classpath:test.yml" )
17
- @ ExtendWith (SpringExtension .class )
18
17
class ReservationRepositoryTest {
19
18
20
19
@ Autowired
Original file line number Diff line number Diff line change 7
7
import com .sweetypie .sweetypie .model .Review ;
8
8
import org .junit .jupiter .api .DisplayName ;
9
9
import org .junit .jupiter .api .Test ;
10
- import org .junit .jupiter .api .extension .ExtendWith ;
11
10
import org .springframework .beans .factory .annotation .Autowired ;
12
11
import org .springframework .boot .test .autoconfigure .orm .jpa .DataJpaTest ;
13
- import org .springframework .test .context .junit .jupiter .SpringExtension ;
14
12
15
13
import java .time .LocalDate ;
16
14
import java .util .ArrayList ;
19
17
import static org .assertj .core .api .Assertions .assertThat ;
20
18
21
19
@ DataJpaTest (properties = "spring.config.location=classpath:test.yml" )
22
- @ ExtendWith (SpringExtension .class )
23
20
class ReviewRepositoryTest {
24
21
25
22
@ Autowired
You can’t perform that action at this time.
0 commit comments