diff --git a/apple/Omnivore-iOS.xctestplan b/apple/Omnivore-iOS.xctestplan index edfeb2059..385bb5cd0 100644 --- a/apple/Omnivore-iOS.xctestplan +++ b/apple/Omnivore-iOS.xctestplan @@ -34,6 +34,41 @@ "identifier" : "042F48D826DFD10E00BF98FC", "name" : "UITests-iOS" } + }, + { + "target" : { + "containerPath" : "container:OmnivoreKit", + "identifier" : "AppTests", + "name" : "AppTests" + } + }, + { + "target" : { + "containerPath" : "container:OmnivoreKit", + "identifier" : "ModelsTests", + "name" : "ModelsTests" + } + }, + { + "target" : { + "containerPath" : "container:OmnivoreKit", + "identifier" : "ServicesTests", + "name" : "ServicesTests" + } + }, + { + "target" : { + "containerPath" : "container:OmnivoreKit", + "identifier" : "UtilsTests", + "name" : "UtilsTests" + } + }, + { + "target" : { + "containerPath" : "container:OmnivoreKit", + "identifier" : "ViewsTests", + "name" : "ViewsTests" + } } ], "version" : 1 diff --git a/apple/OmnivoreKit/Sources/Views/SnoozeView.swift b/apple/OmnivoreKit/Sources/Views/SnoozeView.swift index 3209144b2..70191325d 100644 --- a/apple/OmnivoreKit/Sources/Views/SnoozeView.swift +++ b/apple/OmnivoreKit/Sources/Views/SnoozeView.swift @@ -87,7 +87,7 @@ private struct SnoozeIconButtonView: View { } } -private struct Snooze { +struct Snooze { let until: Date let icon: Image let title: String diff --git a/apple/OmnivoreKit/Tests/ViewsTests/HomeFeedViewTests.swift b/apple/OmnivoreKit/Tests/ViewsTests/HomeFeedViewTests.swift index c8fb05b28..8d86e039f 100644 --- a/apple/OmnivoreKit/Tests/ViewsTests/HomeFeedViewTests.swift +++ b/apple/OmnivoreKit/Tests/ViewsTests/HomeFeedViewTests.swift @@ -11,7 +11,7 @@ final class HomeFeedViewTests: XCTestCase { func test_weekdayBefore8PM() { let now = parse("2022-01-31T10:11:12-08:00") - let snoozes = HomeFeedView.snoozeValuesForDate(now: now) + let snoozes = Snooze.snoozeValuesForDate(now: now) XCTAssertEqual(snoozes[0].until, parse("2022-01-31T20:00:00-08:00")) XCTAssertEqual(snoozes[1].until, parse("2022-02-01T08:00:00-08:00")) @@ -21,7 +21,7 @@ final class HomeFeedViewTests: XCTestCase { func test_weekdayAfter8PM() { let now = parse("2022-01-31T20:11:12-08:00") - let snoozes = HomeFeedView.snoozeValuesForDate(now: now) + let snoozes = Snooze.snoozeValuesForDate(now: now) XCTAssertEqual(snoozes[0].until, parse("2022-02-01T08:00:00-08:00")) XCTAssertEqual(snoozes[1].until, parse("2022-02-01T20:00:00-08:00"))