Skip to content

Commit

Permalink
Revert "Substitute x-champaign headers"
Browse files Browse the repository at this point in the history
This reverts commit cb74a3e.
  • Loading branch information
vincemtnz committed Dec 11, 2017
1 parent cb74a3e commit 1db195c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ replayer.substitute(`<BRAINTRE_BASIC_AUTH_TOKEN>`, () => {
).toString('base64');
});

// Special case: substitute x-champaign-nonce/signature fixtures
replayer.substitute(
`<X_CHAMPAIGN_NONCE>`,
() => '0d57b9d8-5883-4a18-a6cf-a45ad01251e6'
);
replayer.substitute(
`<X_CHAMPAIGN_SIGNATURE>`,
() => '05e9838253a439bd87f1a14995342efcff5316501c6a4145326864cf9e1a17e5'
);

replayer.fixtureDir(path.join(process.cwd(), 'replayer-fixtures'));

replayer.configure({});
Expand Down
4 changes: 2 additions & 2 deletions replayer-fixtures/506fc9c5b8e8010c5cde03d917f992dc.headers
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json;charset=utf-8",
"x-champaign-nonce": "<X_CHAMPAIGN_NONCE>",
"x-champaign-signature": "<X_CHAMPAIGN_SIGNATURE>",
"x-champaign-nonce": "0d57b9d8-5883-4a18-a6cf-a45ad01251e6",
"x-champaign-signature": "05e9838253a439bd87f1a14995342efcff5316501c6a4145326864cf9e1a17e5",
"User-Agent": "axios/0.17.1",
"Content-Length": 106
}
Expand Down

0 comments on commit 1db195c

Please sign in to comment.