From 67fedee15854952e4d1beb12fe259c017633fac5 Mon Sep 17 00:00:00 2001 From: jesperancinha Date: Fri, 29 Nov 2024 23:16:27 +0100 Subject: [PATCH] This was the last point the build went good --- .../SpringFlash32LauncherTemplateTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jeorg-spring/jeorg-spring-flash/jeorg-spring-flash-set-3/jeorg-spring-flash-3-2/src/test/java/org/jesperancinha/std/flash32/rowcallbackhandler/SpringFlash32LauncherTemplateTest.java b/jeorg-spring/jeorg-spring-flash/jeorg-spring-flash-set-3/jeorg-spring-flash-3-2/src/test/java/org/jesperancinha/std/flash32/rowcallbackhandler/SpringFlash32LauncherTemplateTest.java index f1faab8be..cdbd2af9a 100644 --- a/jeorg-spring/jeorg-spring-flash/jeorg-spring-flash-set-3/jeorg-spring-flash-3-2/src/test/java/org/jesperancinha/std/flash32/rowcallbackhandler/SpringFlash32LauncherTemplateTest.java +++ b/jeorg-spring/jeorg-spring-flash/jeorg-spring-flash-set-3/jeorg-spring-flash-3-2/src/test/java/org/jesperancinha/std/flash32/rowcallbackhandler/SpringFlash32LauncherTemplateTest.java @@ -6,9 +6,9 @@ import org.mockito.Captor; import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.RowCallbackHandler; -import org.springframework.test.context.bean.override.mockito.MockitoBean; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; @@ -19,8 +19,8 @@ @ExtendWith(MockitoExtension.class) class SpringFlash32LauncherTemplateTest { -// @MockBean() - @MockitoBean // This doesn't work +// @MockitoBean // This doesn't work + @MockBean private JdbcTemplate jdbcTemplate; @Captor