From 7d9e1e1bf8a899df1a948fe221793c6f504eba92 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Fri, 12 Apr 2019 14:48:39 -0700 Subject: [PATCH] Move to latest stripe-mock --- .travis.yml | 2 +- tests/Stripe/PlanTest.php | 2 +- tests/bootstrap.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9e7a08055..ed52f45b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ php: env: global: - - STRIPE_MOCK_VERSION=0.49.0 + - STRIPE_MOCK_VERSION=0.52.0 matrix: - AUTOLOAD=1 - AUTOLOAD=0 diff --git a/tests/Stripe/PlanTest.php b/tests/Stripe/PlanTest.php index 8d71745ed..9c33b4174 100644 --- a/tests/Stripe/PlanTest.php +++ b/tests/Stripe/PlanTest.php @@ -37,7 +37,7 @@ public function testIsCreatable() 'amount' => 100, 'interval' => 'month', 'currency' => 'usd', - 'name' => self::TEST_RESOURCE_ID, + 'nickname' => self::TEST_RESOURCE_ID, 'id' => self::TEST_RESOURCE_ID ]); $this->assertInstanceOf("Stripe\\Plan", $resource); diff --git a/tests/bootstrap.php b/tests/bootstrap.php index afa7e079b..734c96232 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -2,7 +2,7 @@ require_once(__DIR__ . '/StripeMock.php'); -define("MOCK_MINIMUM_VERSION", "0.49.0"); +define("MOCK_MINIMUM_VERSION", "0.52.0"); if (\Stripe\StripeMock::start()) { register_shutdown_function('\Stripe\StripeMock::stop');