From 15e8161c390d709958b121384dbbe96aa514f357 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Singh Date: Wed, 13 Oct 2021 22:40:54 +0530 Subject: [PATCH] Bump up Sprint Boot version to 2.5.5 --- pom.xml | 9 ++++++--- .../postgresdemo/PostgresDemoApplicationTests.java | 5 +---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 2b558f8..2c23e76 100644 --- a/pom.xml +++ b/pom.xml @@ -14,14 +14,14 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 UTF-8 UTF-8 - 1.8 + 11 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + org.postgresql postgresql diff --git a/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java b/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java index 163f493..dea7bde 100644 --- a/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java +++ b/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java @@ -1,11 +1,8 @@ package com.example.postgresdemo; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class PostgresDemoApplicationTests {