fix: configure finance wallet event delivery

This commit is contained in:
2026-09-05 22:59:08 +08:00
parent 718a54ec9e
commit 3c535731f7
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1,19 @@
package com.baiyue.eventbridge.service;
import org.junit.jupiter.api.Test;
import java.nio.file.Files;
import java.nio.file.Path;
import static org.assertj.core.api.Assertions.assertThat;
class HttpFinanceEventClientTest {
@Test
void walletConsumerUrlCanBeConfiguredForContainerDeployment() throws Exception {
String application = Files.readString(Path.of("src/main/resources/application.yml"));
assertThat(application).contains(
"finance-wallet-consumer-url: ${FINANCE_WALLET_EVENT_CONSUMER_URL:"
+ "http://127.0.0.1:9203/internal/finance/v1/wallet-command-events}");
}
}