Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Nov 17, 2020
1 parent fb1fc95 commit 4fbed97
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
20 changes: 9 additions & 11 deletions tests/fixtures/organizations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ http_interactions:
headers:
Accept: application/json, text/xml, application/xml, */*
Content-Type: ''
Authorization: token af0e9f121c2b68b6957a9b325de64fe572b1fd9a
Authorization: token <<github_api_token>>
response:
status:
status_code: 502
recorded_at: 2020-11-17 06:46:55 GMT
recorded_with: vcr/0.5.4, webmockr/0.7.0
- request:
method: get
uri: https://api.github.com/organizations?since=1
Expand All @@ -23,7 +21,7 @@ http_interactions:
headers:
Accept: application/json, text/xml, application/xml, */*
Content-Type: ''
Authorization: token af0e9f121c2b68b6957a9b325de64fe572b1fd9a
Authorization: token <<github_api_token>>
response:
status:
status_code: 200
Expand All @@ -40,8 +38,8 @@ http_interactions:
content-encoding: gzip
content-security-policy: default-src 'none'
content-type: application/json; charset=utf-8
date: Tue, 17 Nov 2020 06:46:55 GMT
etag: W/"6145a649ac2879a7957ff48b091b129143cbc08f7976f3c1314e5bcf6464a080"
date: Tue, 17 Nov 2020 07:14:34 GMT
etag: W/"ad74ce3c94603322cddbdc174a4a9da9d0a2aa929fa4a046b86b1e7bce9d4648"
link: <https://api.github.com/organizations?since=3286>; rel="next", <https://api.github.com/organizations{?since}>;
rel="first"
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
Expand All @@ -57,12 +55,12 @@ http_interactions:
x-content-type-options: nosniff
x-frame-options: deny
x-github-media-type: github.v3
x-github-request-id: CB78:B55F:4ADF542:55C04A0:5FB371DF
x-oauth-scopes: gist, notifications, repo, user, workflow
x-github-request-id: D8DE:E7C5:854F9A1:99AB362:5FB37859
x-oauth-scopes: ''
x-ratelimit-limit: '5000'
x-ratelimit-remaining: '4984'
x-ratelimit-remaining: '4982'
x-ratelimit-reset: '1605597884'
x-ratelimit-used: '16'
x-ratelimit-used: '18'
x-xss-protection: 1; mode=block
body:
encoding: UTF-8
Expand Down Expand Up @@ -490,5 +488,5 @@ http_interactions:
"description": ""
}
]
recorded_at: 2020-11-17 06:46:55 GMT
recorded_at: 2020-11-17 07:14:33 GMT
recorded_with: vcr/0.5.4, webmockr/0.7.0
3 changes: 2 additions & 1 deletion tests/testthat/helper-exemplighratia.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
library("vcr")
invisible(vcr::vcr_configure(
dir = "../fixtures"
dir = "../fixtures",
filter_sensitive_data = list("<<github_api_token>>" = Sys.getenv('GITHUB_PAT'))
))
vcr::check_cassette_names()

0 comments on commit 4fbed97

Please sign in to comment.