From e4160916e7c47e1b59a5b2df8d0c75112dacdfb3 Mon Sep 17 00:00:00 2001 From: Thiago Cordeiro Date: Wed, 23 Oct 2019 14:57:52 +0200 Subject: [PATCH] Prefixing mollie client id --- tests/src/Provider/MollieTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/Provider/MollieTest.php b/tests/src/Provider/MollieTest.php index b277394..bdb63af 100644 --- a/tests/src/Provider/MollieTest.php +++ b/tests/src/Provider/MollieTest.php @@ -9,7 +9,7 @@ class MollieTest extends \PHPUnit_Framework_TestCase { - const MOCK_CLIENT_ID = 'mock_client_id'; + const MOCK_CLIENT_ID = 'app_mock_client_id'; const MOCK_SECRET = 'mock_secret'; const REDIRECT_URI = 'none'; @@ -215,7 +215,7 @@ public function testUserData() public function testWhenDefiningADifferentMollieApiUrlThenUseThisOnApiCalls() { - $provider = new Mollie(['clientId' => '', 'clientSecret' => '', 'redirectUri' => '']); + $provider = new Mollie(['clientId' => self::MOCK_CLIENT_ID, 'clientSecret' => '', 'redirectUri' => '']); $provider->setMollieApiUrl('https://api.mollie.nl'); @@ -224,7 +224,7 @@ public function testWhenDefiningADifferentMollieApiUrlThenUseThisOnApiCalls() public function testWhenDefiningADifferentMollieWebUrlThenUseThisForAuthorize() { - $provider = new Mollie(['clientId' => '', 'clientSecret' => '', 'redirectUri' => '']); + $provider = new Mollie(['clientId' => self::MOCK_CLIENT_ID, 'clientSecret' => '', 'redirectUri' => '']); $provider->setMollieWebUrl('https://www.mollie.nl');