Skip to content

Commit

Permalink
Change real token to fake token
Browse files Browse the repository at this point in the history
  • Loading branch information
gmile committed Jul 20, 2016
1 parent c0a913d commit d25542b
Show file tree
Hide file tree
Showing 116 changed files with 330 additions and 331 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -5,8 +5,7 @@ otp_release:
- 18.2
sudo: false
env:
- MIX_ENV=test
- STRIPE_SECRET_KEY=non_empty_key
- MIX_ENV=test STRIPE_SECRET_KEY=non_empty_secret_key_string
script: mix coveralls.travis
after_script:
- mix inch.report
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/account_test/delete.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -34,4 +34,4 @@
"type": "ok"
}
}
]
]
14 changes: 7 additions & 7 deletions fixture/vcr_cassettes/account_test/delete_all.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "email=test1%40example.com&managed=true&legal_entity[type]=individual",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -37,7 +37,7 @@
"request": {
"body": "email=test2%40example.com&managed=true&legal_entity[type]=individual",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -71,7 +71,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -105,7 +105,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -140,7 +140,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -175,7 +175,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -209,7 +209,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/account_test/get.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -34,4 +34,4 @@
"type": "ok"
}
}
]
]
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/account_test/list.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -33,4 +33,4 @@
"type": "ok"
}
}
]
]
8 changes: 4 additions & 4 deletions fixture/vcr_cassettes/account_test/setup.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -37,7 +37,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -71,7 +71,7 @@
"request": {
"body": "email=test%40example.com&managed=true",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -101,4 +101,4 @@
"type": "ok"
}
}
]
]
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/account_test/teardown.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -31,4 +31,4 @@
"type": "ok"
}
}
]
]
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/card_test/all.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -33,4 +33,4 @@
"type": "ok"
}
}
]
]
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/card_test/all_with_key.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -33,4 +33,4 @@
"type": "ok"
}
}
]
]
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/card_test/count.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -33,4 +33,4 @@
"type": "ok"
}
}
]
]
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/card_test/count_with_key.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -33,4 +33,4 @@
"type": "ok"
}
}
]
]
6 changes: 3 additions & 3 deletions fixture/vcr_cassettes/card_test/create_with_options.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2016&card[cvc]=314",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -37,7 +37,7 @@
"request": {
"body": "source=tok_8r2jvUooNRPIod",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -67,4 +67,4 @@
"type": "ok"
}
}
]
]
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "card[number]=4242424242424242&card[exp_month]=8&card[exp_year]=2016&card[cvc]=314",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -37,7 +37,7 @@
"request": {
"body": "source=tok_8r2jHvIeeKbkIM",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -67,4 +67,4 @@
"type": "ok"
}
}
]
]
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/card_test/delete.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -33,4 +33,4 @@
"type": "ok"
}
}
]
]
12 changes: 6 additions & 6 deletions fixture/vcr_cassettes/card_test/delete_all.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -37,7 +37,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -71,7 +71,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -105,7 +105,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -139,7 +139,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -169,4 +169,4 @@
"type": "ok"
}
}
]
]
6 changes: 3 additions & 3 deletions fixture/vcr_cassettes/card_test/delete_all_with_key.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -37,7 +37,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -67,4 +67,4 @@
"type": "ok"
}
}
]
]
4 changes: 2 additions & 2 deletions fixture/vcr_cassettes/card_test/delete_with_key.json
Expand Up @@ -3,7 +3,7 @@
"request": {
"body": "",
"headers": {
"Authorization": "Bearer qr0yuBikLRa5yJkMGuEO4DNblKhEJqkw",
"Authorization": "Bearer non_empty_secret_key_string",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "Stripe/v1 stripity-stripe/1.4.0"
},
Expand Down Expand Up @@ -33,4 +33,4 @@
"type": "ok"
}
}
]
]

0 comments on commit d25542b

Please sign in to comment.