MCPcopy Index your code
hub / github.com/gotify/server / Test_DeleteMessage_invalidID

Method Test_DeleteMessage_invalidID

api/message_test.go:232–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230}
231
232func (s *MessageSuite) Test_DeleteMessage_invalidID() {
233 s.ctx.Params = gin.Params{{Key: "id", Value: "string"}}
234
235 s.a.DeleteMessage(s.ctx)
236
237 assert.Equal(s.T(), 400, s.recorder.Code)
238}
239
240func (s *MessageSuite) Test_DeleteMessage_notExistingID() {
241 s.db.User(1).App(5).Message(55)

Callers

nothing calls this directly

Calls 1

DeleteMessageMethod · 0.80

Tested by

no test coverage detected