diff options
Diffstat (limited to 'HutchTests/HomeViewModelTests.swift')
| -rw-r--r-- | HutchTests/HomeViewModelTests.swift | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/HutchTests/HomeViewModelTests.swift b/HutchTests/HomeViewModelTests.swift index 5475bdd..fef93e0 100644 --- a/HutchTests/HomeViewModelTests.swift +++ b/HutchTests/HomeViewModelTests.swift @@ -22,10 +22,19 @@ struct HomeViewModelTests { func matchesCurrentUserAssigneeNormalizesCanonicalNameAndUsername() { let currentUser = User( id: 42, + created: nil, + updated: nil, username: "owner", canonicalName: "~owner", email: "[email protected]", - avatar: nil + url: nil, + location: nil, + bio: nil, + avatar: nil, + pronouns: nil, + userType: nil, + receivesPaidServices: nil, + suspensionNotice: nil ) #expect(HomeViewModel.matchesCurrentUserAssignee(Entity(canonicalName: "~owner"), currentUser: currentUser)) |
