diff --git a/api4/user_test.go b/api4/user_test.go index 9df062a2aa..f7970128f5 100644 --- a/api4/user_test.go +++ b/api4/user_test.go @@ -1202,7 +1202,7 @@ func TestUpdateUserAuth(t *testing.T) { userAuth.AuthData = user.AuthData userAuth.AuthService = "" userAuth.Password = "1" - if _, err := Client.UpdateUserAuth(user.Id, userAuth); err == nil { + if _, err := th.Client.UpdateUserAuth(user.Id, userAuth); err == nil { t.Fatal("Should have errored - user password not valid") }