Skip to content

Commit

Permalink
fix: failing test (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored and brunogaspar committed Dec 31, 2019
1 parent 016eb7d commit 7e9be53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/StripeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public function can_retrieve_the_stripe_headers_from_thrown_exception()
*/
public function it_throws_an_exception_when_the_api_key_is_not_set()
{
unset($_SERVER['STRIPE_API_KEY']);
putenv('STRIPE_API_KEY');

$stripe = new Stripe();
Expand Down

0 comments on commit 7e9be53

Please sign in to comment.