You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api_tests/test_posts.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ def test_get_post_number1(api):
11
11
response=api.get("posts/1")
12
12
assertresponse.status_code==ApiHttpConstants.OK
13
13
data=response.json()
14
-
assertdata['userId'] ==2,"error in user id,expected 1"
14
+
assertdata['userId'] ==1,"error in user id,expected 1"
15
15
assertdata['id'] ==1,"error is user id,expected 1"
16
16
assertdata['title'] =="sunt aut facere repellat provident occaecati excepturi optio reprehenderit","eror in title"
17
17
assertdata['body'] =="quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto","erorr in body"
0 commit comments