aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patchwork/tests/api/test_patch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/tests/api/test_patch.py b/patchwork/tests/api/test_patch.py
index 7ffc178..b501392 100644
--- a/patchwork/tests/api/test_patch.py
+++ b/patchwork/tests/api/test_patch.py
@@ -203,7 +203,7 @@ class TestPatchAPI(APITestCase):
"""Ensure creations are rejected."""
project = create_project()
patch = {
- 'project': project,
+ 'project': project.id,
'submitter': create_person().id,
'msgid': make_msgid(),
'name': 'test-create-patch',