diff options
| author | Christian Cleberg <[email protected]> | 2026-04-11 23:36:36 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-11 23:36:36 -0500 |
| commit | ce1a59205b30518ee11d99ac043e15d83c27cce2 (patch) | |
| tree | c24e18e9c3de90700db278b6f378211a7d2bcd73 /HutchTests/HomeViewModelTests.swift | |
| parent | 00cc231e9b419d27b412036d93457c2cbabe0b16 (diff) | |
| download | hutch-ce1a59205b30518ee11d99ac043e15d83c27cce2.tar.gz hutch-ce1a59205b30518ee11d99ac043e15d83c27cce2.tar.bz2 hutch-ce1a59205b30518ee11d99ac043e15d83c27cce2.zip | |
Fix stale tests for current Swift concurrency model
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)) |
