mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 09:22:42 +08:00
add dns controller tests
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user