Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 8501949d rédigé par Zomzog's avatar Zomzog
Parcourir les fichiers

fix info test

parent acadecd2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -3,7 +3,9 @@ package iut.nantes.exo20.controller
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.context.annotation.Profile
import org.springframework.test.context.ActiveProfiles
import org.springframework.test.web.servlet.MockMvc
......@@ -12,7 +14,8 @@ import org.springframework.test.web.servlet.get
class InfoTest{
@Nested
@WebMvcTest
@SpringBootTest
@AutoConfigureMockMvc
inner class Exo28 {
@Autowired
......@@ -34,7 +37,8 @@ class InfoTest{
@Nested
@ActiveProfiles("dev")
@WebMvcTest
@SpringBootTest
@AutoConfigureMockMvc
inner class Exo30 {
@Autowired
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter