mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Migrated t.fatal to testify/require. (#12625)
This commit is contained in:
committed by
Jesús Espino
parent
94a77e2ddb
commit
b56ce0e67a
@@ -22,9 +22,7 @@ func TestOAuthAppJson(t *testing.T) {
|
||||
json := a1.ToJson()
|
||||
ra1 := OAuthAppFromJson(strings.NewReader(json))
|
||||
|
||||
if a1.Id != ra1.Id {
|
||||
t.Fatal("ids did not match")
|
||||
}
|
||||
require.Equal(t, a1.Id, ra1.Id, "ids did not match")
|
||||
}
|
||||
|
||||
func TestOAuthAppPreSave(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user