Fix tests for Spring Boot 4 and test config

This commit is contained in:
root
2026-02-02 15:47:40 +01:00
parent 9259fa6ca9
commit 4d794afc7d
3 changed files with 33 additions and 6 deletions
@@ -3,7 +3,12 @@ package de.dev089.eventproducer;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
@SpringBootTest(properties = {
"RABBITMQ_HOST=localhost",
"RABBITMQ_PORT=5672",
"RABBITMQ_USERNAME=guest",
"RABBITMQ_PASSWORD=guest"
})
class EventProducerApplicationTests {
@Test