diff --git a/BTCPayServer.Tests/ServerTester.cs b/BTCPayServer.Tests/ServerTester.cs index 69e8d497f..c1826daa0 100644 --- a/BTCPayServer.Tests/ServerTester.cs +++ b/BTCPayServer.Tests/ServerTester.cs @@ -91,7 +91,7 @@ namespace BTCPayServer.Tests CustomerLightningD = LightningClientFactory.CreateClient(GetEnvironment("TEST_CUSTOMERLIGHTNINGD", "type=clightning;server=tcp://127.0.0.1:30992/"), btc); MerchantLightningD = LightningClientFactory.CreateClient(GetEnvironment("TEST_MERCHANTLIGHTNINGD", "type=clightning;server=tcp://127.0.0.1:30993/"), btc); MerchantCharge = new ChargeTester(this, "TEST_MERCHANTCHARGE", "type=charge;server=http://127.0.0.1:54938/;api-token=foiewnccewuify;allowinsecure=true", "merchant_lightningd", btc); - MerchantLnd = new LndMockTester(this, "TEST_MERCHANTLND", "https://lnd:lnd@127.0.0.1:35531/", "merchant_lnd", btc); + MerchantLnd = new LndMockTester(this, "TEST_MERCHANTLND", "http://lnd:lnd@127.0.0.1:35531/", "merchant_lnd", btc); PayTester.UseLightning = true; PayTester.IntegratedLightning = MerchantCharge.Client.Uri; } diff --git a/BTCPayServer.Tests/docker-compose.yml b/BTCPayServer.Tests/docker-compose.yml index 9d729e884..be606c67a 100644 --- a/BTCPayServer.Tests/docker-compose.yml +++ b/BTCPayServer.Tests/docker-compose.yml @@ -213,18 +213,21 @@ services: - "5432" merchant_lnd: - image: btcpayserver/lnd:v0.11.0-beta + image: btcpayserver/lnd:v0.12.0-beta restart: unless-stopped environment: LND_CHAIN: "btc" LND_ENVIRONMENT: "regtest" LND_EXPLORERURL: "http://nbxplorer:32838/" + LND_REST_LISTEN_HOST: http://merchant_lnd:8080 LND_EXTRA_ARGS: | - restlisten=0.0.0.0:8080 + restlisten=merchant_lnd:8080 rpclisten=127.0.0.1:10008 - rpclisten=0.0.0.0:10009 + rpclisten=merchant_lnd:10009 bitcoin.node=bitcoind bitcoind.rpchost=bitcoind:43782 + bitcoind.rpcuser=ceiwHEbqWI83 + bitcoind.rpcpass=DwubwWsoo3 bitcoind.zmqpubrawblock=tcp://bitcoind:28332 bitcoind.zmqpubrawtx=tcp://bitcoind:28333 externalip=merchant_lnd:9735 @@ -232,6 +235,7 @@ services: no-macaroons=1 debuglevel=debug trickledelay=1000 + no-rest-tls=1 ports: - "35531:8080" expose: @@ -243,18 +247,21 @@ services: - bitcoind customer_lnd: - image: btcpayserver/lnd:v0.11.0-beta + image: btcpayserver/lnd:v0.12.0-beta restart: unless-stopped environment: LND_CHAIN: "btc" LND_ENVIRONMENT: "regtest" LND_EXPLORERURL: "http://nbxplorer:32838/" + LND_REST_LISTEN_HOST: http://customer_lnd:8080 LND_EXTRA_ARGS: | - restlisten=0.0.0.0:8080 + restlisten=customer_lnd:8080 rpclisten=127.0.0.1:10008 - rpclisten=0.0.0.0:10009 + rpclisten=customer_lnd:10009 bitcoin.node=bitcoind bitcoind.rpchost=bitcoind:43782 + bitcoind.rpcuser=ceiwHEbqWI83 + bitcoind.rpcpass=DwubwWsoo3 bitcoind.zmqpubrawblock=tcp://bitcoind:28332 bitcoind.zmqpubrawtx=tcp://bitcoind:28333 externalip=customer_lnd:10009 @@ -262,6 +269,7 @@ services: no-macaroons=1 debuglevel=debug trickledelay=1000 + no-rest-tls=1 ports: - "35532:8080" expose: