summaryrefslogtreecommitdiff
path: root/testing/tests/server/test_incoming_resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/server/test_incoming_resource.py')
-rw-r--r--testing/tests/server/test_incoming_resource.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/server/test_incoming_resource.py b/testing/tests/server/test_incoming_resource.py
index e9148b4a..16e1e720 100644
--- a/testing/tests/server/test_incoming_resource.py
+++ b/testing/tests/server/test_incoming_resource.py
@@ -38,9 +38,9 @@ class IncomingResourceTestCase(unittest.TestCase):
def test_save_document(self):
formatter = IncomingFormatter()
- doc_id, scheme = uuid4().hex, EncryptionSchemes.NONE
+ doc_id, scheme = uuid4().hex, EncryptionSchemes.PUBKEY
content = 'Incoming content'
- request = DummyRequest([self.user_uuid, doc_id, scheme])
+ request = DummyRequest([self.user_uuid, doc_id])
request.content = BytesIO(content)
self.resource.render_PUT(request)