(t *testing.T)
| 219 | } |
| 220 | |
| 221 | func TestDocLifecycle(t *testing.T) { |
| 222 | rt := NewRestTester(t, nil) |
| 223 | defer rt.Close() |
| 224 | |
| 225 | version := rt.CreateTestDoc("doc") |
| 226 | assert.Equal(t, "1-45ca73d819d5b1c9b8eea95290e79004", version.RevTreeID) |
| 227 | |
| 228 | response := rt.SendAdminRequest("DELETE", "/{{.keyspace}}/doc?rev="+version.RevTreeID, "") |
| 229 | RequireStatus(t, response, 200) |
| 230 | } |
| 231 | |
| 232 | func TestDocumentUpdateWithNullBody(t *testing.T) { |
| 233 | rt := NewRestTester(t, nil) |
nothing calls this directly
no test coverage detected