Skip to content

Commit

Permalink
feat(scenario): lock/unlock issue
Browse files Browse the repository at this point in the history
closes #59. Part of #14
  • Loading branch information
gr2m committed Oct 23, 2017
1 parent 1722efb commit d2c53df
Show file tree
Hide file tree
Showing 4 changed files with 661 additions and 0 deletions.
75 changes: 75 additions & 0 deletions scenarios/api.github.com/lock-issue/normalized-fixture.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[
{
"scope": "https://api.github.com:443",
"method": "put",
"path": "/repos/octokit-fixture-org/lock-issue/issues/1/lock",
"body": "",
"status": 204,
"response": "",
"reqheaders": {
"accept": "application/vnd.github.v3+json",
"authorization": "token 0000000000000000000000000000000000000001",
"host": "api.github.com",
"content-length": 0
},
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval",
"connection": "close",
"content-security-policy": "default-src 'none'",
"content-type": "application/octet-stream",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"expect-ct": "max-age=2592000, report-uri=\"https://api.github.com/_private/browser/errors\"",
"status": "204 No Content",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "public_repo, repo",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-oauth-scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-runtime-rack": "0.000000",
"x-xss-protection": "1; mode=block",
"content-length": "0"
}
},
{
"scope": "https://api.github.com:443",
"method": "delete",
"path": "/repos/octokit-fixture-org/lock-issue/issues/1/lock",
"body": "",
"status": 204,
"response": "",
"reqheaders": {
"accept": "application/vnd.github.v3+json",
"authorization": "token 0000000000000000000000000000000000000001",
"host": "api.github.com"
},
"headers": {
"access-control-allow-origin": "*",
"access-control-expose-headers": "ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval",
"connection": "close",
"content-security-policy": "default-src 'none'",
"content-type": "application/octet-stream",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"expect-ct": "max-age=2592000, report-uri=\"https://api.github.com/_private/browser/errors\"",
"status": "204 No Content",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "public_repo, repo",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-oauth-scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-runtime-rack": "0.000000",
"x-xss-protection": "1; mode=block",
"content-length": "0"
}
}
]
Loading

0 comments on commit d2c53df

Please sign in to comment.