From 4132351b3f729a34f8eab451b45e006df80e8849 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Tue, 30 Oct 2018 14:40:54 +0100 Subject: [PATCH] fix panic in TestUpdateUserAuth test (#9756) --- api4/user_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }