continued.

This commit is contained in:
0xdcarns 2022-01-10 20:50:18 -05:00 committed by Matthew R Kasun
parent 60dedc2616
commit 5b3917f357

View file

@ -68,13 +68,13 @@ func TestDeleteEgressGateway(t *testing.T) {
node, err := logic.DeleteEgressGateway(gateway.NetID, "01:02:03")
assert.EqualError(t, err, "no result found")
assert.Equal(t, models.Node{}, node)
deleteAllNodes()
})
}
func TestGetNetworkNodes(t *testing.T) {
database.InitializeDatabase()
deleteAllNetworks()
deleteAllNodes()
createNet()
t.Run("BadNet", func(t *testing.T) {
node, err := logic.GetNetworkNodes("badnet")