Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/magento/framework/App/Test/Unit/Action/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/framework/App/Test/Unit/Action/ActionFake.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\Framework\App\Test\Unit\Action;

use Magento\Framework\App\Action\Action;

/**
 * @SuppressWarnings(PHPMD.AllPurposeAction)
 */
class ActionFake extends Action
{
    /**
     * Fake action to check a method call from a parent
     */
    public function execute()
    {
        $this->_forward(
            ActionTest::ACTION_NAME,
            ActionTest::CONTROLLER_NAME,
            ActionTest::MODULE_NAME,
            ActionTest::$actionParams
        );
        $this->_redirect(ActionTest::FULL_ACTION_NAME, ActionTest::$actionParams);
    }
}