mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Migrate tests from "config/main_test.go" to use testify (#12533)
Resolves MM-19021
This commit is contained in:
committed by
Jesús Espino
parent
23d495beca
commit
3dfcbccc15
@@ -47,7 +47,7 @@ func truncateTable(t *testing.T, table string) {
|
||||
require.NoError(t, err)
|
||||
|
||||
default:
|
||||
t.Fatalf("unsupported driver name: %s", *sqlSetting.DriverName)
|
||||
require.Failf(t, "failed", "unsupported driver name: %s", *sqlSetting.DriverName)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user