Files
openfoodnetwork/script/test-stripe-live
David Rodríguez 6a226e476d Link to Stripe testing wiki page from the cassette regeneration script
I think this is the more relevant wiki page for someone looking into
regenerating cassettes.

Also, no need to mention bitwarden explicitly, the wiki page already
explains everything.
2025-10-21 14:38:10 +02:00

13 lines
457 B
Bash
Executable File

#!/usr/bin/env sh
#
# Test Stripe API integration and record new cassettes.
# Requires account details in .env.test.local. See [Stripe testing](https://github.com/openfoodfoundation/openfoodnetwork/wiki/Stripe-testing) for details
set -e # Exit if any command fails
git rm spec/fixtures/vcr_cassettes/Stripe-v* -r
./bin/rspec --tag stripe_version
git add spec/fixtures/vcr_cassettes/Stripe-v*
git commit -m "Update Stripe API recordings for new version"