()
| 316 | } |
| 317 | |
| 318 | func (s *IntegrationSuite) TestOptionsRequest() { |
| 319 | req := s.newRequest("OPTIONS", "version", "") |
| 320 | |
| 321 | res, err := client.Do(req) |
| 322 | assert.Nil(s.T(), err) |
| 323 | assert.Equal(s.T(), res.StatusCode, 200) |
| 324 | } |
| 325 | |
| 326 | func (s *IntegrationSuite) TestSendMessage() { |
| 327 | req := s.newRequest("POST", "application", `{"name": "backup-server"}`) |
nothing calls this directly
no test coverage detected