45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*
|
|
* https://www.d3data.de
|
|
*
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
|
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
|
* @link https://www.oxidmodule.com
|
|
*/
|
|
|
|
namespace D3\Totp\tests\unit\Modules\Application\Controller;
|
|
|
|
use D3\Totp\Modules\Application\Controller\d3_totp_OrderController;
|
|
use D3\Totp\tests\unit\d3TotpUnitTestCase;
|
|
use OxidEsales\Eshop\Application\Controller\OrderController;
|
|
|
|
class d3_totp_OrderControllerTest extends d3TotpUnitTestCase
|
|
{
|
|
use d3_totp_getUserTestTrait;
|
|
|
|
/** @var d3_totp_OrderController */
|
|
protected $_oController;
|
|
|
|
protected $sControllerClass = OrderController::class;
|
|
|
|
/**
|
|
* setup basic requirements
|
|
*/
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
|
|
$this->_oController = oxNew(OrderController::class);
|
|
}
|
|
|
|
public function tearDown()
|
|
{
|
|
parent::tearDown();
|
|
|
|
unset($this->_oController);
|
|
}
|
|
} |