Weighing: Do not ignore gross and tare weight and show it on DeliveryNote
This commit is contained in:
@ -37,8 +37,8 @@ namespace Tests.WeighingTests {
|
||||
await Task.Delay(100);
|
||||
Assert.That(res, Is.Not.Null);
|
||||
Assert.That(res, Is.EqualTo(new WeighingResult {
|
||||
Weight = 2345, WeighingId = "1",
|
||||
FullWeighingId = $"2020-09-28/1",
|
||||
NetWeight = 2345,
|
||||
WeighingId = "1", FullWeighingId = $"2020-09-28/1",
|
||||
Date = new DateOnly(2020, 9, 28), Time = new TimeOnly(9, 8),
|
||||
}));
|
||||
|
||||
@ -46,9 +46,8 @@ namespace Tests.WeighingTests {
|
||||
await Task.Delay(100);
|
||||
Assert.That(res, Is.Not.Null);
|
||||
Assert.That(res, Is.EqualTo(new WeighingResult {
|
||||
Weight = 4215,
|
||||
WeighingId = "2",
|
||||
FullWeighingId = $"2020-09-28/2",
|
||||
NetWeight = 4215,
|
||||
WeighingId = "2", FullWeighingId = $"2020-09-28/2",
|
||||
Date = new DateOnly(2020, 9, 28),
|
||||
Time = new TimeOnly(9, 8),
|
||||
}));
|
||||
|
Reference in New Issue
Block a user