mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
remove AddTestData testing function (circular dependency not possible)
This commit is contained in:
parent
dbed662ad1
commit
d7de421365
1 changed files with 0 additions and 7 deletions
|
@ -399,10 +399,3 @@ func TestAddAdminAndUsers(t *testing.T) {
|
||||||
|
|
||||||
assert.NoError(t, DBAddAdminAndUserAndGuest(db))
|
assert.NoError(t, DBAddAdminAndUserAndGuest(db))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestAddData(t *testing.T) {
|
|
||||||
DropTables(db)
|
|
||||||
MigrateModels(db)
|
|
||||||
|
|
||||||
assert.NoError(t, DBAddTestData(db))
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue