fixes marketplace test
This commit is contained in:
parent
ef53fe02a3
commit
2a5b3e0eec
|
@ -1,5 +1,4 @@
|
|||
using CodexContractsPlugin;
|
||||
using Logging;
|
||||
using Logging;
|
||||
using Newtonsoft.Json;
|
||||
using Utils;
|
||||
|
||||
|
|
|
@ -78,9 +78,9 @@ namespace CodexPlugin
|
|||
{
|
||||
log.Log($"Making storage available... (" +
|
||||
$"size: {TotalSpace}, " +
|
||||
$"maxDuration: {Time.FormatDuration(MaxDuration)})" +
|
||||
$"maxDuration: {Time.FormatDuration(MaxDuration)}, " +
|
||||
$"minPriceForTotalSpace: {MinPriceForTotalSpace}, " +
|
||||
$"maxCollateral: {MaxCollateral}, ");
|
||||
$"maxCollateral: {MaxCollateral})");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -149,8 +149,7 @@ namespace CodexTests.BasicTests
|
|||
Assert.That(filledSlotEvents.Length, Is.EqualTo(purchase.MinRequiredNumberOfNodes));
|
||||
for (var i = 0; i < purchase.MinRequiredNumberOfNodes; i++)
|
||||
{
|
||||
var filledSlotEvent = filledSlotEvents[i];
|
||||
Assert.That(filledSlotEvent.SlotIndex, Is.EqualTo(i));
|
||||
var filledSlotEvent = filledSlotEvents.Single(e => e.SlotIndex == i);
|
||||
Assert.That(filledSlotEvent.RequestId.ToHex(), Is.EqualTo(request.RequestId.ToHex()));
|
||||
Assert.That(filledSlotEvent.Host, Is.EqualTo(seller.EthAddress));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue