From 7cec557a53077b655bbe4a751223569bce89928e Mon Sep 17 00:00:00 2001 From: Sarah Wolff Date: Tue, 14 Jul 2026 11:13:14 -0400 Subject: [PATCH] test(profiles): handle throwing initializer --- PiperlyTests/PiperlyTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PiperlyTests/PiperlyTests.swift b/PiperlyTests/PiperlyTests.swift index a4f83c5..1a168ec 100644 --- a/PiperlyTests/PiperlyTests.swift +++ b/PiperlyTests/PiperlyTests.swift @@ -150,8 +150,8 @@ struct LegacyDecodeTests { let selectedProfileKey = "piperly_selected_profile_id" let bookmarksKey = "piperly_bookmarks" let savedWordsKey = "piperly_saved_words" - let firstProfile = ReaderProfile(name: "First") - let secondProfile = ReaderProfile(name: "Second") + let firstProfile = try ReaderProfile(name: "First") + let secondProfile = try ReaderProfile(name: "Second") let bookmarkID = UUID() let bookID = UUID() let legacyBookmarkJSON = """