Skip to content

Commit a9593f6

Browse files
authored
fix: add api key for REST_test.js
1 parent aaf07a4 commit a9593f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/rest/REST_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe('REST', () => {
150150
})
151151

152152
it('should be able to parse JSON responses', async () => {
153-
await I.sendGetRequest('https://reqres.in/api/comments/1')
153+
await I.sendGetRequest('https://reqres.in/api/comments/1', { 'x-api-key': 'reqres-free-v1'})
154154
await jsonResponse.seeResponseCodeIsSuccessful()
155155
await jsonResponse.seeResponseContainsKeys(['data', 'support'])
156156
})

0 commit comments

Comments
 (0)