Skip to content

Commit 052dd03

Browse files
committed
Rename expected response file
1 parent e35b09f commit 052dd03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/java/com/typicode/jsonplaceholder/features/Posts.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Feature: Posts Endpoint
55
Then the response has a status code of 200
66
And the response body follows the "MultiplePosts" JSON schema
77
And the results array contains 100 elements
8-
And the response body matches the "GetAllPosts" expected response
8+
And the response body matches the "AllPosts" expected response
99

1010
Scenario: Verify single post against expected response in file
1111
When I make a GET request to the Posts endpoint with a path parameter of 1
1212
Then the response has a status code of 200
1313
And the response body follows the "SinglePost" JSON schema
14-
And the response body matches the 1st post in the "GetAllPosts" expected response
14+
And the response body matches the 1st post in the "AllPosts" expected response
1515

1616
Scenario: Verify single post using datatable
1717
When I make a GET request to the Posts endpoint with a path parameter of 1

src/test/resources/expectedResponses/GetAllPostsResponse.json renamed to src/test/resources/expectedResponses/AllPostsResponse.json

File renamed without changes.

0 commit comments

Comments
 (0)