From 709a79b82f34d5a066f7b4892b112df9ad124425 Mon Sep 17 00:00:00 2001 From: spokenbird Date: Tue, 10 Dec 2024 12:44:00 -0800 Subject: [PATCH] Update deprecated SpyBean calls --- .../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