Skip to content

Commit

Permalink
wip(change-stream): add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CianoDanilo committed Oct 4, 2024
1 parent 3e39f08 commit ff88ae7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ package it.pagopa.wallet

import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.TestPropertySource

@SpringBootTest
@TestPropertySource(locations = ["classpath:application-test.properties"])
class PagopaPaymentWalletCdcServiceApplicationTests {

@Test fun contextLoads() {}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package it.pagopa.wallet.cdc;

public class PaymentWalletsLogEventsStreamTest {
}
3 changes: 3 additions & 0 deletions src/test/resources/application-test.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Mongo
spring.data.mongodb.uri=mongodb://mongo:mongo@mongo:27017/?ssl=false
spring.data.mongodb.database=wallet

0 comments on commit ff88ae7

Please sign in to comment.