BAEL-7547: adding h2 for non-testcontainers tests
This commit is contained in:
parent
fbd72d1a09
commit
9502473ac2
|
@ -61,6 +61,13 @@
|
|||
<version>1.1.3</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<version>2.2.224</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>kafka</artifactId>
|
||||
|
|
|
@ -15,7 +15,6 @@ import com.baeldung.springmodulith.application.events.orders.OrderCompletedEvent
|
|||
import com.baeldung.springmodulith.application.events.rewards.LoyalCustomersRepository;
|
||||
|
||||
@SpringBootTest
|
||||
@ComponentScan(basePackages = "com.baeldung.springmodulith.application.events")
|
||||
class EventListenerUnitTest {
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -10,7 +10,6 @@ import org.springframework.context.annotation.ComponentScan;
|
|||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@SpringBootTest
|
||||
@ComponentScan(basePackages = "com.baeldung.springmodulith.application.events")
|
||||
class EventPublisherUnitTest {
|
||||
|
||||
@Autowired
|
||||
|
|
Loading…
Reference in New Issue