From a9ef8b52aa2ac1dfada58ae55252715c5cb32a84 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 21 Jun 2017 15:50:51 -0400 Subject: Fix panic in v4 client (#6704) --- api4/user_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4') diff --git a/api4/user_test.go b/api4/user_test.go index 81c410e96..1598d2951 100644 --- a/api4/user_test.go +++ b/api4/user_test.go @@ -2020,7 +2020,7 @@ func TestSwitchAccount(t *testing.T) { th.LoginBasic() - fakeAuthData := "1" + fakeAuthData := model.NewId() if result := <-app.Srv.Store.User().UpdateAuthData(th.BasicUser.Id, model.USER_AUTH_SERVICE_GITLAB, &fakeAuthData, th.BasicUser.Email, true); result.Err != nil { t.Fatal(result.Err) } -- cgit v1.2.3-1-g7c22