mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-14768: Switches field type from sql.NullBool to a bool pointer. (#10526)
This commit is contained in:
@@ -171,7 +171,7 @@ func TestTeamPatch(t *testing.T) {
|
||||
if *p.AllowOpenInvite != o.AllowOpenInvite {
|
||||
t.Fatal("AllowOpenInvite did not update")
|
||||
}
|
||||
if *p.GroupConstrained != o.GroupConstrained.Bool {
|
||||
t.Fatalf("expected %v got %v", *p.GroupConstrained, o.GroupConstrained.Bool)
|
||||
if *p.GroupConstrained != *o.GroupConstrained {
|
||||
t.Fatalf("expected %v got %v", *p.GroupConstrained, *o.GroupConstrained)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user