File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,15 @@ GET should return a value
23
23
Status Should Be 200 ${response }
24
24
Dictionary Should Contain Item ${response.json() } counter 1
25
25
26
- GET should return not found
27
- ${response } = Get Request api /v1/categories/100
28
- Status Should Be 404 ${response }
29
26
30
27
PUT should update an object
31
28
&{payload } = Create Dictionary name=Fauna nameRu=Фауна slug=fauna userId=1
32
29
${response } = Put Request api /v1/categories/1 json=${payload }
33
30
Status Should Be 204 ${response }
34
31
35
32
DELETE should remove an object
36
- ${response } = Delete Request api /v1/categories/1
37
- Status Should Be 204 ${response }
33
+ ${response } = Delete Request api /v1/categories/1
34
+ Status Should Be 204 ${response }
38
35
# checks that it was removed
39
- ${response } = Get Request api /v1/categories/count
40
- Status Should Be 200 ${response }
41
- Dictionary Should Contain Item ${response.json() } counter 0
36
+ ${response } = Get Request api /v1/categories/1
37
+ Status Should Be 404 ${response }
You can’t perform that action at this time.
0 commit comments