removed unused stuff
Some checks failed
build and publish docker image / deploy / build (push) Failing after 1m28s
Some checks failed
build and publish docker image / deploy / build (push) Failing after 1m28s
This commit is contained in:
parent
806264de9a
commit
4021509916
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in a new issue