From 9db012d88f3fca15f05ca02cf7bed31539791781 Mon Sep 17 00:00:00 2001 From: MateuszRostek <17rostek17@gmail.com> Date: Fri, 16 Feb 2024 21:07:04 +0100 Subject: [PATCH] ApplicationTests class deletion reverted. --- .../java/mate/academy/rickandmorty/Application.java | 1 + .../mate/academy/rickandmorty/ApplicationTests.java | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 src/test/java/mate/academy/rickandmorty/ApplicationTests.java diff --git a/src/main/java/mate/academy/rickandmorty/Application.java b/src/main/java/mate/academy/rickandmorty/Application.java index 3b4e97e6..cdea84fc 100644 --- a/src/main/java/mate/academy/rickandmorty/Application.java +++ b/src/main/java/mate/academy/rickandmorty/Application.java @@ -5,6 +5,7 @@ @SpringBootApplication public class Application { + public static void main(String[] args) { SpringApplication.run(Application.class, args); } diff --git a/src/test/java/mate/academy/rickandmorty/ApplicationTests.java b/src/test/java/mate/academy/rickandmorty/ApplicationTests.java new file mode 100644 index 00000000..52ce9e71 --- /dev/null +++ b/src/test/java/mate/academy/rickandmorty/ApplicationTests.java @@ -0,0 +1,12 @@ +package mate.academy.rickandmorty; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ApplicationTests { + + @Test + void contextLoads() { + } +}