removed unused stuff
Some checks failed
build and publish docker image / deploy / build (push) Failing after 1m28s

This commit is contained in:
hirst 2024-06-01 16:17:09 +02:00
parent 806264de9a
commit 4021509916
3 changed files with 2 additions and 5 deletions

View file

@ -1,9 +1,7 @@
package com.learningpulse.dummy;
import com.learningpulse.dummy.services.GreetingService;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

View file

@ -16,12 +16,12 @@ public class DummyApplicationSmokeTest {
private DummyApplication dummyApplication;
@Test
void TestControllerExist() throws Exception {
void TestControllerExist() {
assertThat(testController).isNotNull();
}
@Test
void DummyApplicationExist() throws Exception {
void DummyApplicationExist() {
assertThat(dummyApplication).isNotNull();
}
}

View file

@ -10,7 +10,6 @@ import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.security.test.context.support.WithMockUser;
import org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import org.springframework.web.context.WebApplicationContext;