From 07b269c82f4d45af44ab7097e4a7cd5953c2af94 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Wed, 15 Jul 2026 19:28:21 -0500 Subject: test: match cached incident fixture to its RSS source The expected incident declared url: nil while the cachedIncidentRSS it stands in for carries https://status.sr.ht/issues/1/, so the fixture contradicted its own input. The repository parses and persists the link correctly. --- HutchTests/SystemStatusRepositoryTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3