Skip to content

Commit d48066f

Browse files
feat: add webMvc test in context loads
1 parent e309043 commit d48066f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/edu/eci/cvds/prometeo/PrometeoApplicationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package edu.eci.cvds.prometeo;
22

33
import org.junit.jupiter.api.Test;
4+
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
45
import org.springframework.boot.test.context.SpringBootTest;
56
import org.springframework.boot.test.mock.mockito.MockBean;
67

78
import jakarta.activation.DataSource;
89

9-
@SpringBootTest
10-
@MockBean(DataSource.class)
10+
@WebMvcTest
1111
class PrometeoApplicationTests {
1212

1313
@Test

0 commit comments

Comments
 (0)