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