fixed recipe book api test to reflect api change
This commit is contained in:
@ -97,7 +97,7 @@ def test_add(arg, request, u1_s2):
|
|||||||
c = request.getfixturevalue(arg[0])
|
c = request.getfixturevalue(arg[0])
|
||||||
r = c.post(
|
r = c.post(
|
||||||
reverse(LIST_URL),
|
reverse(LIST_URL),
|
||||||
{'name': 'test'},
|
{'name': 'test', 'shared': []},
|
||||||
content_type='application/json'
|
content_type='application/json'
|
||||||
)
|
)
|
||||||
response = json.loads(r.content)
|
response = json.loads(r.content)
|
||||||
|
Reference in New Issue
Block a user