mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 17:48:25 +08:00
continued.
This commit is contained in:
parent
60dedc2616
commit
5b3917f357
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue