From 282718a3708942b01883931645cd284d52f62ddf Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Tue, 10 Dec 2024 13:06:20 -0800 Subject: [PATCH] Update deprecated SpyBean calls (#347) --- .../app/journeys/UbiFlowJourneyTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/formflowstartertemplate/app/journeys/UbiFlowJourneyTest.java b/src/test/java/org/formflowstartertemplate/app/journeys/UbiFlowJourneyTest.java index d3959ccc..b223d0da 100644 --- a/src/test/java/org/formflowstartertemplate/app/journeys/UbiFlowJourneyTest.java +++ b/src/test/java/org/formflowstartertemplate/app/journeys/UbiFlowJourneyTest.java @@ -5,13 +5,13 @@ import org.formflowstartertemplate.app.utils.AbstractBasePageTest; import org.junit.jupiter.api.Test; import org.openqa.selenium.By; -import org.springframework.boot.test.mock.mockito.SpyBean; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.List; +import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; import static org.assertj.core.api.Assertions.assertThat; import static org.formflowstartertemplate.app.utils.YesNoAnswer.NO; @@ -22,10 +22,10 @@ public class UbiFlowJourneyTest extends AbstractBasePageTest { - @SpyBean + @MockitoSpyBean private SendEmailConfirmation sendEmailConfirmation; - @SpyBean + @MockitoSpyBean private MailgunEmailClient mailgunEmailClient; @Test