mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fix panic in v4 client (#6704)
This commit is contained in:
committed by
Christopher Speller
parent
6bfb7ea3a9
commit
a9ef8b52aa
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
+205
-197
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user