Skip to content

Commit

Permalink
Fix: Update REST_test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Jun 26, 2023
1 parent 6f07ecc commit 6300e95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rest/REST_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ describe('REST', () => {
});

it('should be able to parse JSON responses', async () => {
await I.sendGetRequest('https://jsonplaceholder.typicode.com/comments/1');
await I.sendGetRequest('https://reqres.in/api/comments/1');
await jsonResponse.seeResponseCodeIsSuccessful();
await jsonResponse.seeResponseContainsKeys(['id', 'name', 'email']);
await jsonResponse.seeResponseContainsKeys(['data', 'support']);
});
});

Expand Down

0 comments on commit 6300e95

Please sign in to comment.