This commit is contained in:
1 parent
960d52686a
commit
1291b24478
11 files changed
+156
-15
No files matched your search
@@ -69,4 +69,16 @@ public sealed class UntisComparisonToolsTests
|
||||
Assert.Contains("row-id", result.Message);
|
||||
Assert.Equal(0, confirmation.CallCount); // erst gar nicht bis zur Bestätigung vorgedrungen
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task ApplyUntisAbsenceStatus_ErheblichVerspaetet_IstZulaessigerZielstatus()
|
||||
{
|
||||
var tool = Build();
|
||||
|
||||
var result = await tool.ApplyUntisAbsenceStatus(
|
||||
"nie-vergeben", nameof(AttendanceStatus.SignificantlyLate));
|
||||
|
||||
Assert.False(result.Applied);
|
||||
Assert.Contains("row-id", result.Message); // Statusvalidierung wurde erfolgreich passiert
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user