(t *testing.T)
| 59 | } |
| 60 | |
| 61 | func TestAddReport(t *testing.T) { |
| 62 | data := Map{"floor_id": REPORT_FLOOR_BASE_ID + 14, "reason": "123456789"} |
| 63 | |
| 64 | testAPI(t, "post", "/api/reports", 204, data) |
| 65 | } |
| 66 | |
| 67 | func TestDeleteReport(t *testing.T) { |
| 68 | reportID := REPORT_BASE_ID + 7 |