add dns controller tests

This commit is contained in:
Matthew R Kasun
2021-05-05 17:24:24 -04:00
parent a827f8caad
commit 4b74e52f83
8 changed files with 437 additions and 257 deletions

View File

@@ -135,6 +135,7 @@ func createNetwork(t *testing.T) {
network.AddressRange = "10.71.0.0/16"
response, err := api(t, network, http.MethodPost, baseURL+"/api/networks", "secretkey")
assert.Nil(t, err, err)
t.Log(err)
assert.Equal(t, http.StatusOK, response.StatusCode)
}