diff options
Diffstat (limited to 'HutchTests/RepositoryACLViewModelTests.swift')
| -rw-r--r-- | HutchTests/RepositoryACLViewModelTests.swift | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/HutchTests/RepositoryACLViewModelTests.swift b/HutchTests/RepositoryACLViewModelTests.swift index 9c3f929..9640b93 100644 --- a/HutchTests/RepositoryACLViewModelTests.swift +++ b/HutchTests/RepositoryACLViewModelTests.swift @@ -110,15 +110,17 @@ struct RepositoryACLViewModelTests { @MainActor private func makeRepository() -> RepositorySummary { RepositorySummary( - id: 1, - rid: "rid-1", - service: .git, - name: "repo", - description: nil, - visibility: .public, - updated: .now, - owner: Entity(canonicalName: "~owner"), - head: nil + fields: .init( + id: 1, + rid: "rid-1", + service: .git, + name: "repo", + description: nil, + visibility: .publicVisibility, + updated: .now, + owner: Entity(canonicalName: "~owner"), + head: nil + ) ) } } |
