From 5b3917f3577be0891f9cade12aa14bbfccdeed5a Mon Sep 17 00:00:00 2001 From: 0xdcarns Date: Mon, 10 Jan 2022 20:50:18 -0500 Subject: [PATCH] continued. --- controllers/node_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/node_test.go b/controllers/node_test.go index 8d7d6985..0c2d79c7 100644 --- a/controllers/node_test.go +++ b/controllers/node_test.go @@ -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")