Skip to content

Commit 620bbe7

Browse files
committed
all test pass
1 parent c789711 commit 620bbe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api_tests/test_posts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_get_post_number1(api):
1111
response = api.get("posts/1")
1212
assert response.status_code == ApiHttpConstants.OK
1313
data = response.json()
14-
assert data['userId'] == 2,"error in user id,expected 1"
14+
assert data['userId'] == 1,"error in user id,expected 1"
1515
assert data['id'] == 1,"error is user id,expected 1"
1616
assert data['title'] == "sunt aut facere repellat provident occaecati excepturi optio reprehenderit","eror in title"
1717
assert data['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

Comments
 (0)