update database test to use testify (#12532)

Этот коммит содержится в:
Dennis Nguyen
2019-10-02 05:51:13 -07:00
коммит произвёл Maria A Nunez
родитель 80633ef475
Коммит c859807b70

Просмотреть файл

@@ -516,7 +516,7 @@ func TestDatabaseStoreSet(t *testing.T) {
select { select {
case <-called: case <-called:
case <-time.After(5 * time.Second): case <-time.After(5 * time.Second):
t.Fatal("callback should have been called when config written") require.Fail(t, "callback should have been called when config written")
} }
}) })
} }
@@ -757,7 +757,7 @@ func TestDatabaseStoreLoad(t *testing.T) {
select { select {
case <-called: case <-called:
case <-time.After(5 * time.Second): case <-time.After(5 * time.Second):
t.Fatal("callback should have been called when config loaded") require.Fail(t, "callback should have been called when config loaded")
} }
}) })
} }