Set temp path to Config.
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiApiApplicationFactory.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiApiApplicationFactory.cs
@@ -24,7 +24,7 @@ namespace WalletWasabi.Tests.UnitTests.WabiSabi.Integration;
public class WabiSabiApiApplicationFactory<TStartup> : WebApplicationFactory<TStartup> where TStartup : class
{
- // There is a deadlock in the current version of the asmp.net testing framework
+ // There is a deadlock in the current version of the asp.net testing framework
// https://www.strathweb.com/2021/05/the-curious-case-of-asp-net-core-integration-test-deadlock/
protected override IHost CreateHost(IHostBuilder builder)
{

MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiHttpApiIntegrationTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiHttpApiIntegrationTests.cs
+using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
@@ -18,7 +19,6 @@ using WalletWasabi.WabiSabi.Backend.Rounds.CoinJoinStorage;
using WalletWasabi.WabiSabi.Client;
using WalletWasabi.WabiSabi.Models;
using WalletWasabi.WabiSabi.Models.MultipartyTransaction;
-using WalletWasabi.Wallets;
using WalletWasabi.WebClients.Wasabi;
using Xunit;
@@ -330,7 +330,7 @@ public class WabiSabiHttpApiIntegrationTests : IClassFixture<WabiSabiApiApplicat
// Instruct the coordinator DI container to use these two scoped
// services to build everything (WabiSabi controller, arena, etc)
services.AddScoped<IRPCClient>(s => rpc);
- services.AddScoped<WabiSabiConfig>(s => new WabiSabiConfig
+ services.AddScoped<WabiSabiConfig>(s => new WabiSabiConfig(Path.GetTempFileName())
{
MaxRegistrableAmount = Money.Coins(500m),
MaxInputCountByRound = ExpectedInputNumber,

Set temp path to Config.