From a701bc439d5bd915743af2c3d3e64acf976935e5 Mon Sep 17 00:00:00 2001 From: Sander van Hooft Date: Thu, 15 Aug 2024 16:30:31 +0200 Subject: [PATCH] Adopt my.mollie.com (#34) --- src/Provider/Mollie.php | 2 +- tests/src/Provider/MollieTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Provider/Mollie.php b/src/Provider/Mollie.php index 6b743bd..84f02d8 100644 --- a/src/Provider/Mollie.php +++ b/src/Provider/Mollie.php @@ -29,7 +29,7 @@ class Mollie extends AbstractProvider * * @const string */ - const MOLLIE_WEB_URL = 'https://www.mollie.com'; + const MOLLIE_WEB_URL = 'https://my.mollie.com'; /** * The prefix for the Client ID diff --git a/tests/src/Provider/MollieTest.php b/tests/src/Provider/MollieTest.php index 0f24257..afb9915 100644 --- a/tests/src/Provider/MollieTest.php +++ b/tests/src/Provider/MollieTest.php @@ -65,7 +65,7 @@ public function testAuthorizationUrl() list($url, $queryString) = explode('?', $authUrl); parse_str($queryString, $query); - $this->assertEquals('https://www.mollie.com/oauth2/authorize', $url); + $this->assertEquals('https://my.mollie.com/oauth2/authorize', $url); $this->assertEquals([ 'state' => $this->provider->getState(), 'client_id' => self::MOCK_CLIENT_ID,