@@ -41,7 +41,7 @@ def test_get_zaak_selection(self):
41
41
42
42
self .client .force_login (self .user )
43
43
44
- response = self .client .get (reverse ("api:selections" , args = [key ]))
44
+ response = self .client .post (reverse ("api:selections" , args = [key ]))
45
45
46
46
self .assertEqual (response .status_code , status .HTTP_200_OK )
47
47
@@ -231,7 +231,7 @@ def test_get_filtered_zaak_selection(self):
231
231
endpoint .args ["annotated" ] = True
232
232
endpoint .args ["test" ] = "tralala"
233
233
234
- response = self .client .get (endpoint .url )
234
+ response = self .client .post (endpoint .url )
235
235
236
236
self .assertEqual (response .status_code , status .HTTP_200_OK )
237
237
@@ -264,7 +264,7 @@ def test_get_selection_item(self):
264
264
self .client .force_login (self .user )
265
265
endpoint = furl (reverse ("api:selections" , args = [key ]))
266
266
endpoint .args ["items" ] = "http://zaken.nl/api/v1/zaken/111-111-111"
267
- response = self .client .get (endpoint .url )
267
+ response = self .client .post (endpoint .url )
268
268
269
269
self .assertEqual (response .status_code , status .HTTP_200_OK )
270
270
@@ -304,7 +304,7 @@ def test_filter_items(self):
304
304
endpoint .args ["items" ] = (
305
305
"http://zaken.nl/api/v1/zaken/111-111-111,http://zaken.nl/api/v1/zaken/222-222-222"
306
306
)
307
- response = self .client .get (endpoint .url )
307
+ response = self .client .post (endpoint .url )
308
308
309
309
self .assertEqual (response .status_code , status .HTTP_200_OK )
310
310
@@ -478,7 +478,7 @@ def test_urls_not_camelised(self):
478
478
479
479
self .client .force_login (self .user )
480
480
481
- response = self .client .get (reverse ("api:selections" , args = [key ]))
481
+ response = self .client .post (reverse ("api:selections" , args = [key ]))
482
482
483
483
self .assertEqual (response .status_code , status .HTTP_200_OK )
484
484
0 commit comments