From dfc50bc6fab78cc3cccea8367c56146121a4f125 Mon Sep 17 00:00:00 2001 From: Olivier Bellone Date: Sat, 22 Sep 2018 21:35:36 +0200 Subject: [PATCH] Upgrade stripe-mock --- .travis.yml | 2 +- tests/api_resources/issuing/test_dispute.py | 2 +- tests/conftest.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e21444eea..3446d53c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ cache: env: global: # If changing this number, please also change it in `tests/conftest.py`. - - STRIPE_MOCK_VERSION=0.30.0 + - STRIPE_MOCK_VERSION=0.32.0 before_install: # Unpack and start stripe-mock so that the test suite can talk to it diff --git a/tests/api_resources/issuing/test_dispute.py b/tests/api_resources/issuing/test_dispute.py index 9f410506a..940d01602 100644 --- a/tests/api_resources/issuing/test_dispute.py +++ b/tests/api_resources/issuing/test_dispute.py @@ -10,7 +10,7 @@ class TestDispute(object): def test_is_creatable(self, request_mock): resource = stripe.issuing.Dispute.create( reason='fraudulent', - transaction='ipi_123' + disputed_transaction='ipi_123' ) request_mock.assert_requested( 'post', diff --git a/tests/conftest.py b/tests/conftest.py index 15de12aa7..714b3d5cd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -13,7 +13,7 @@ from tests.request_mock import RequestMock -MOCK_MINIMUM_VERSION = '0.30.0' +MOCK_MINIMUM_VERSION = '0.32.0' MOCK_PORT = os.environ.get('STRIPE_MOCK_PORT', 12111)