diff options
| author | Christian Cleberg <[email protected]> | 2026-07-15 19:28:21 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-15 19:28:21 -0500 |
| commit | 07b269c82f4d45af44ab7097e4a7cd5953c2af94 (patch) | |
| tree | e327a6d00bcf1f32d036a1c5f8f1282c53592f41 /HutchTests | |
| parent | 3c99c01ad1c0c855ef1793d4b74a9c77e7445811 (diff) | |
| download | hutch-07b269c82f4d45af44ab7097e4a7cd5953c2af94.tar.gz hutch-07b269c82f4d45af44ab7097e4a7cd5953c2af94.tar.bz2 hutch-07b269c82f4d45af44ab7097e4a7cd5953c2af94.zip | |
test: match cached incident fixture to its RSS source
The expected incident declared url: nil while the cachedIncidentRSS it stands
in for carries <link>https://status.sr.ht/issues/1/</link>, so the fixture
contradicted its own input. The repository parses and persists the link
correctly.
Diffstat (limited to 'HutchTests')
| -rw-r--r-- | HutchTests/SystemStatusRepositoryTests.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/HutchTests/SystemStatusRepositoryTests.swift b/HutchTests/SystemStatusRepositoryTests.swift index fb08732..56fa7c0 100644 --- a/HutchTests/SystemStatusRepositoryTests.swift +++ b/HutchTests/SystemStatusRepositoryTests.swift @@ -60,7 +60,7 @@ struct SystemStatusRepositoryTests { id: "incident-1", title: "builds.sr.ht outage", summary: "Builds are failing.", - url: nil, + url: URL(string: "https://status.sr.ht/issues/1/"), publishedAt: Date(timeIntervalSince1970: 200), updatedAt: nil, isActive: true |
