(t *testing.T)
| 53 | } |
| 54 | |
| 55 | func TestGetDomainNotFound(t *testing.T) { |
| 56 | srv := testServer(t) |
| 57 | code, _ := getJSON(t, srv.URL+"/v1/domains/unknown.com", "good") |
| 58 | if code != 404 { |
| 59 | t.Fatalf("want 404, got %d", code) |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | func TestRegisterDomain(t *testing.T) { |
| 64 | srv := testServer(t) |
nothing calls this directly
no test coverage detected