Fix tests for Spring Boot 4 and test config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user