Skip to content

Commit

Permalink
Prefixing mollie client id
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Cordeiro committed Oct 23, 2019
1 parent 26a0009 commit e416091
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/Provider/MollieTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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');

Expand All @@ -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');

Expand Down

0 comments on commit e416091

Please sign in to comment.