Payum\Klarna\Checkout\Tests\Action\AuthorizeActionTest::shouldUseCheckoutUriFromConfig PHP Метод

shouldUseCheckoutUriFromConfig() публичный Метод

    public function shouldUseCheckoutUriFromConfig()
    {
        $config = new Config();
        $config->checkoutUri = 'theCheckoutUrl';
        $action = new AuthorizeAction('aTemplate');
        $action->setGateway($this->createGatewayMock());
        $action->setApi($config);
        $action->execute(new Authorize(['location' => 'aLocation', 'merchant' => ['confirmation_uri' => 'theConfirmationUri', 'terms_uri' => 'theTermsUri', 'push_uri' => 'thePushUri']]));
    }