Commit 49247a00 authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade propiedad con puerto de arranque

De esta manera no falla al no encontrar el puerto, aunque en este test
no sea necesario
parent 08d084cf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.MessageSource;
import org.springframework.kafka.test.rule.KafkaEmbedded;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import es.redmic.commandslib.exceptions.HistoryNotFoundException;
@@ -28,6 +29,7 @@ import es.redmic.vesselscommands.commands.vessel.UpdateVesselCommand;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = { VesselsCommandsApplication.class })
@ActiveProfiles("test")
@TestPropertySource(properties = { "schema.registry.port=0" })
public class ExceptionsTranslationTest {

	@ClassRule