Commit 8c99ef194e

8c99ef194ee9ce52dcc05fcfb005850058630d57

parent: 4bda48cf2c

Unsigned

cmc <hello@cleberg.net> · 2026-07-16 00:28 UTC

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.

Layout: unified · split

HutchTests/SystemStatusRepositoryTests.swift +1 −1
@@ -60,7 +60,7 @@ struct SystemStatusRepositoryTests {
60 id: "incident-1", 60 id: "incident-1",
61 title: "builds.sr.ht outage", 61 title: "builds.sr.ht outage",
62 summary: "Builds are failing.", 62 summary: "Builds are failing.",
63 url: nil, 63 url: URL(string: "https://status.sr.ht/issues/1/"),
64 publishedAt: Date(timeIntervalSince1970: 200), 64 publishedAt: Date(timeIntervalSince1970: 200),
65 updatedAt: nil, 65 updatedAt: nil,
66 isActive: true 66 isActive: true