File tree Expand file tree Collapse file tree
src/test/java/dev/findfirst/core/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
55
66plugins {
77 id ' application'
8- id ' org.springframework.boot' version ' 3.4.0 '
8+ id ' org.springframework.boot' version ' 3.4.5 '
99 id ' io.spring.dependency-management' version ' 1.1.7'
1010 id " org.sonarqube" version " 5.1.0.4882"
1111 id " com.diffplug.spotless" version " 6.19.0"
Original file line number Diff line number Diff line change 1212import org .mockito .junit .jupiter .MockitoExtension ;
1313import org .springframework .beans .factory .annotation .Autowired ;
1414import org .springframework .boot .test .context .SpringBootTest ;
15- import org .springframework .boot .test .mock .mockito .MockBean ;
1615import org .springframework .boot .testcontainers .service .connection .ServiceConnection ;
16+ import org .springframework .test .context .bean .override .mockito .MockitoBean ;
1717import org .testcontainers .containers .PostgreSQLContainer ;
1818import org .testcontainers .junit .jupiter .Container ;
1919import org .testcontainers .junit .jupiter .Testcontainers ;
2424@ SpringBootTest
2525class WebCheckServiceTest {
2626
27- @ MockBean
27+ @ MockitoBean
2828 RobotsFetcher robotsFetcher ;
2929
3030 @ Autowired
You can’t perform that action at this time.
0 commit comments