summaryrefslogtreecommitdiff
path: root/HutchTests/HomeViewModelTests.swift
diff options
context:
space:
mode:
Diffstat (limited to 'HutchTests/HomeViewModelTests.swift')
-rw-r--r--HutchTests/HomeViewModelTests.swift11
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",
- 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))