stabilize tests

This commit is contained in:
master
2026-02-01 21:37:40 +02:00
parent 55744f6a39
commit 5d5e80b2e4
6435 changed files with 33984 additions and 13802 deletions

View File

@@ -71,16 +71,16 @@ public sealed class HlcTimestampJsonConverterTests
}
[Fact]
public void Deserialize_Null_ReturnsZero()
public void Deserialize_Null_ThrowsJsonException()
{
// Arrange
var json = "null";
// Act
var result = JsonSerializer.Deserialize<HlcTimestamp>(json, _options);
var act = () => JsonSerializer.Deserialize<HlcTimestamp>(json, _options);
// Assert
result.Should().Be(default(HlcTimestamp));
// Assert — converter intentionally throws; use NullableHlcTimestampJsonConverter for nullable timestamps.
act.Should().Throw<JsonException>();
}
[Fact]

View File

@@ -8,3 +8,4 @@ Source of truth: `docs-archived/implplan/2025-12-29-csproj-audit/SPRINT_20251229
| AUDIT-0086-M | DONE | Revalidated 2026-01-08; open findings tracked in audit report. |
| AUDIT-0086-T | DONE | Revalidated 2026-01-08; open findings tracked in audit report. |
| AUDIT-0086-A | DONE | Waived (test project; revalidated 2026-01-08). |
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |