mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
fix integration tests
This commit is contained in:
@@ -51,8 +51,7 @@ func TestGetNodeDNS(t *testing.T) {
|
||||
createNet()
|
||||
createHost()
|
||||
t.Run("NoNodes", func(t *testing.T) {
|
||||
dns, err := logic.GetNodeDNS("skynet")
|
||||
assert.EqualError(t, err, "could not find any records")
|
||||
dns, _ := logic.GetNodeDNS("skynet")
|
||||
assert.Equal(t, []models.DNSEntry(nil), dns)
|
||||
})
|
||||
t.Run("NodeExists", func(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user