[JAVA-18185] Moved spring-boot-modules to jdk9-and-above profile (#13678)

Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
This commit is contained in:
panos-kakos
2023-03-23 05:38:51 +02:00
committed by GitHub
parent b1162d37b9
commit 78cb526cf0
7 changed files with 53 additions and 42 deletions
@@ -30,7 +30,7 @@ public class BaeldungTaskSchedulerIntegrationTest {
taskScheduler.scheduledTask();
System.out.flush();
String expected = "Running ShedLock task\n";
assertThat(consoleOutput.toString()).isEqualTo(expected);
assertThat(consoleOutput.toString()).hasToString(expected);
//restore the old out
System.setOut(old);