+ $"flag as 'true'. This marks the fact that cost modifier of discount is not applied properly!"
);
+ // The storeComponent returns discounted items with conditions randomly, so we remove these to sanitize the data.
+ foreach (var discountedItem in discountedListingItems)
+ {
+ discountedItem.Conditions = null;
+ }
+
// Refund action requests re-generation of listing items so we will be re-acquiring items from component a lot of times.
var itemIds = discountedListingItems.Select(x => x.ID);
foreach (var itemId in itemIds)
// get refreshed item after refund re-generated items
discountedListingItem = storeComponent.FullListingsCatalog.First(x => x.ID == itemId);
+ // The storeComponent can give a discounted item a condition at random, so we remove it to sanitize the data.
+ discountedListingItem.Conditions = null;
+
var afterRefundBalance = storeComponent.Balance[UplinkSystem.TelecrystalCurrencyPrototype];
Assert.That(afterRefundBalance.Value, Is.EqualTo(originalBalance.Value), "Expected refund to return all discounted cost value.");
Assert.That(