(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func Test_WithDefault(t *testing.T) { |
| 14 | db := testdb.NewDBWithDefaultUser(t) |
| 15 | if user, err := db.GetUserByName("admin"); assert.NoError(t, err) { |
| 16 | assert.NotNil(t, user) |
| 17 | } |
| 18 | db.Close() |
| 19 | } |
| 20 | |
| 21 | func TestDatabaseSuite(t *testing.T) { |
| 22 | suite.Run(t, new(DatabaseSuite)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…