From b7ab2f994ed67288e3f48baadf827ffcbd8010cc Mon Sep 17 00:00:00 2001 From: benbierens Date: Tue, 9 Apr 2024 10:57:02 +0200 Subject: [PATCH] Fixes market test --- Tests/CodexTests/BasicTests/MarketplaceTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/CodexTests/BasicTests/MarketplaceTests.cs b/Tests/CodexTests/BasicTests/MarketplaceTests.cs index 630ff80..d5befe0 100644 --- a/Tests/CodexTests/BasicTests/MarketplaceTests.cs +++ b/Tests/CodexTests/BasicTests/MarketplaceTests.cs @@ -33,9 +33,10 @@ namespace CodexTests.BasicTests .AsStorageNode() .AsValidator())); + var expectedHostBalance = (numberOfHosts * hostInitialBalance.Amount).TestTokens(); foreach (var host in hosts) { - AssertBalance(contracts, host, Is.EqualTo(hostInitialBalance)); + AssertBalance(contracts, host, Is.EqualTo(expectedHostBalance)); var availability = new StorageAvailability( totalSpace: 10.GB(),