Tests: Small fixes

This commit is contained in:
2024-02-13 12:44:43 +01:00
parent 805f782c83
commit 1b9064a97c
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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;