PayPal\Test\Api\OpenIdSessionTest::testLoginWithCustomConfig PHP Method

testLoginWithCustomConfig() public method

    public function testLoginWithCustomConfig()
    {
        $redirectUri = 'http://mywebsite.com';
        $scope = array('this', 'that', 'and more');
        $expectedBaseUrl = "https://www.paypal.com/signin/authorize";
        $this->assertEquals($expectedBaseUrl . "?client_id=DummyId&response_type=code&scope=this+that+and+more+openid&redirect_uri=" . urlencode($redirectUri), OpenIdSession::getAuthorizationUrl($redirectUri, $scope, "DummyId", null, null, $this->context), "Failed case - custom config");
    }