add more integration testcases

This commit is contained in:
Michael Jerger 2024-05-21 18:49:31 +02:00
parent 5ce359b14e
commit 735d9629cf
2 changed files with 71 additions and 11 deletions

View file

@ -74,9 +74,6 @@ func RepositoryInbox(ctx *context.APIContext) {
form := web.GetForm(ctx)
httpStatus, title, err := federation.ProcessLikeActivity(ctx, form, repository.ID)
if err != nil {
log.Error("Status: %v", httpStatus)
log.Error("Title: %v", title)
log.Error("Error: %v", err)
ctx.Error(httpStatus, title, err)
}
ctx.Status(http.StatusNoContent)