Fix Naming

Change userService name to templateUserProfileService for templating.
Remove test subclass from MockScreenTest
This commit is contained in:
David Langley
2021-09-11 14:13:43 +01:00
parent cd1c8a75f3
commit 518dcbbd91
9 changed files with 41 additions and 31 deletions
@@ -30,7 +30,7 @@ class TemplateUserProfileViewModelTests: XCTestCase {
var cancellables = Set<AnyCancellable>()
override func setUpWithError() throws {
service = MockTemplateUserProfileService(displayName: Constants.displayName, presence: Constants.presenceInitialValue)
viewModel = TemplateUserProfileViewModel(userService: service)
viewModel = TemplateUserProfileViewModel(templateUserProfileService: service)
}
func testInitialState() {