From 1e1b08fb5127ec49ea30f84d21f4c7eb19d40443 Mon Sep 17 00:00:00 2001 From: Mathieu Pillard Date: Mon, 13 Nov 2023 21:23:15 +0100 Subject: [PATCH] Add tests for passing an id as integer in the abuse report API (#21428) * Add tests for passing an id as integer in the abuse report API * Also document that we allow integers --- docs/topics/api/abuse.rst | 8 ++-- src/olympia/abuse/tests/test_views.py | 65 +++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 4 deletions(-) diff --git a/docs/topics/api/abuse.rst b/docs/topics/api/abuse.rst index 26ba085d39..40b067a83c 100644 --- a/docs/topics/api/abuse.rst +++ b/docs/topics/api/abuse.rst @@ -34,7 +34,7 @@ to if necessary. .. http:post:: /api/v5/abuse/report/addon/ - :`. :`. @@ -242,7 +242,7 @@ so reports can be responded to if necessary. .. _userabusereport-create-request: - :`. :`. :`. :