diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-06-21 15:50:51 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-06-21 12:50:51 -0700 |
commit | a9ef8b52aa2ac1dfada58ae55252715c5cb32a84 (patch) | |
tree | 27f42cb97615de96c1693274f0b77bd0d787ba0d /api4/user_test.go | |
parent | 6bfb7ea3a91187a3f95f22b16933530eb784e06f (diff) | |
download | chat-a9ef8b52aa2ac1dfada58ae55252715c5cb32a84.tar.gz chat-a9ef8b52aa2ac1dfada58ae55252715c5cb32a84.tar.bz2 chat-a9ef8b52aa2ac1dfada58ae55252715c5cb32a84.zip |
Fix panic in v4 client (#6704)
Diffstat (limited to 'api4/user_test.go')
-rw-r--r-- | api4/user_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |