Tests: Small fixes
This commit is contained in:
@ -12,7 +12,6 @@ namespace Tests.DocumentTests {
|
|||||||
var d = await Context.Deliveries.FindAsync(2020, 1);
|
var d = await Context.Deliveries.FindAsync(2020, 1);
|
||||||
using var doc = new DeliveryNote(d!, Context);
|
using var doc = new DeliveryNote(d!, Context);
|
||||||
var text = await Utils.GeneratePdfText(doc);
|
var text = await Utils.GeneratePdfText(doc);
|
||||||
Console.Write(text);
|
|
||||||
Assert.Multiple(() => {
|
Assert.Multiple(() => {
|
||||||
Assert.That(text, Contains.Substring("""
|
Assert.That(text, Contains.Substring("""
|
||||||
MUSTERMANN Max
|
MUSTERMANN Max
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-- deletes for HelperTests.BillingTest
|
-- deletes for HelperTests.BillingTest
|
||||||
|
|
||||||
DELETE FROM credit;
|
DELETE FROM credit;
|
||||||
DELETE FROM payment_variant
|
DELETE FROM payment_variant;
|
||||||
DELETE FROM delivery;
|
DELETE FROM delivery;
|
||||||
DELETE FROM area_commitment;
|
DELETE FROM area_commitment;
|
||||||
DELETE FROM area_commitment_type;
|
DELETE FROM area_commitment_type;
|
||||||
|
Reference in New Issue
Block a user