Payum\Klarna\Checkout\Tests\Action\AuthorizeActionTest::shouldUseTermsUriFromConfig PHP Method

shouldUseTermsUriFromConfig() public method

    public function shouldUseTermsUriFromConfig()
    {
        $config = new Config();
        $config->termsUri = 'theTermsUrl';
        $action = new AuthorizeAction('aTemplate');
        $action->setGateway($this->createGatewayMock());
        $action->setApi($config);
        $action->execute(new Authorize(['location' => 'aLocation', 'merchant' => ['confirmation_uri' => 'theConfirmationUri', 'checkout_uri' => 'theCheckoutUri', 'push_uri' => 'thePushUri']]));
    }