diff options
Diffstat (limited to 'HutchTests/AppStateTests.swift')
| -rw-r--r-- | HutchTests/AppStateTests.swift | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/HutchTests/AppStateTests.swift b/HutchTests/AppStateTests.swift index fe357cb..a5661ef 100644 --- a/HutchTests/AppStateTests.swift +++ b/HutchTests/AppStateTests.swift @@ -39,22 +39,24 @@ struct AppStateTests { func navigationHelpersQueueExpectedTargets() { let appState = AppState() let repository = RepositorySummary( - id: 1, - rid: "repo", - service: .git, - name: "hutch", - description: nil, - visibility: .public, - updated: .distantPast, - owner: Entity(canonicalName: "~owner"), - head: nil + fields: .init( + id: 1, + rid: "repo", + service: .git, + name: "hutch", + description: nil, + visibility: .publicVisibility, + updated: .distantPast, + owner: Entity(canonicalName: "~owner"), + head: nil + ) ) let tracker = TrackerSummary( id: 2, rid: "tracker", name: "todo", description: nil, - visibility: .public, + visibility: .publicVisibility, updated: .distantPast, owner: Entity(canonicalName: "~owner") ) |
