Tests: Use Assert.EnterMultipleScope instead of Assert.Multiple
Test / Run tests (push) Successful in 2m6s
Test / Run tests (push) Successful in 2m6s
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Tests.UnitTests.DocumentTests {
|
||||
var data = await DeliveryConfirmationDeliveryData.ForMember(ctx.DeliveryParts, 2020, m!);
|
||||
using var doc = new DeliveryConfirmation(2020, m!, null, data);
|
||||
var text = await Utils.GeneratePdfText(doc);
|
||||
Assert.Multiple(() => {
|
||||
using (Assert.EnterMultipleScope()) {
|
||||
Assert.That(text, Contains.Substring("""
|
||||
MUSTERMANN Max
|
||||
Winzerstraße 1
|
||||
@@ -39,7 +39,7 @@ namespace Tests.UnitTests.DocumentTests {
|
||||
Welschriesling 5 382 - 5 382
|
||||
12 442 3 129 15 571
|
||||
"""));
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user