forked from D3Public/oxtotp
change used classes from extension to default OXID class
This commit is contained in:
parent
fb863773ca
commit
03cf29ce02
@ -19,6 +19,7 @@ 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
|
||||
{
|
||||
@ -27,7 +28,7 @@ class d3_totp_OrderControllerTest extends d3TotpUnitTestCase
|
||||
/** @var d3_totp_OrderController */
|
||||
protected $_oController;
|
||||
|
||||
protected $sControllerClass = d3_totp_OrderController::class;
|
||||
protected $sControllerClass = OrderController::class;
|
||||
|
||||
/**
|
||||
* setup basic requirements
|
||||
@ -36,7 +37,7 @@ class d3_totp_OrderControllerTest extends d3TotpUnitTestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->_oController = oxNew(d3_totp_OrderController::class);
|
||||
$this->_oController = oxNew(OrderController::class);
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
|
@ -19,6 +19,7 @@ namespace D3\Totp\tests\unit\Modules\Application\Controller;
|
||||
|
||||
use D3\Totp\Modules\Application\Controller\d3_totp_PaymentController;
|
||||
use D3\Totp\tests\unit\d3TotpUnitTestCase;
|
||||
use OxidEsales\Eshop\Application\Controller\PaymentController;
|
||||
|
||||
class d3_totp_PaymentControllerTest extends d3TotpUnitTestCase
|
||||
{
|
||||
@ -27,7 +28,7 @@ class d3_totp_PaymentControllerTest extends d3TotpUnitTestCase
|
||||
/** @var d3_totp_PaymentController */
|
||||
protected $_oController;
|
||||
|
||||
protected $sControllerClass = d3_totp_PaymentController::class;
|
||||
protected $sControllerClass = PaymentController::class;
|
||||
|
||||
/**
|
||||
* setup basic requirements
|
||||
@ -36,7 +37,7 @@ class d3_totp_PaymentControllerTest extends d3TotpUnitTestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->_oController = oxNew(d3_totp_PaymentController::class);
|
||||
$this->_oController = oxNew(PaymentController::class);
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
|
@ -19,6 +19,7 @@ namespace D3\Totp\tests\unit\Modules\Application\Controller;
|
||||
|
||||
use D3\Totp\Modules\Application\Controller\d3_totp_UserController;
|
||||
use D3\Totp\tests\unit\d3TotpUnitTestCase;
|
||||
use OxidEsales\Eshop\Application\Controller\UserController;
|
||||
|
||||
class d3_totp_UserControllerTest extends d3TotpUnitTestCase
|
||||
{
|
||||
@ -27,7 +28,7 @@ class d3_totp_UserControllerTest extends d3TotpUnitTestCase
|
||||
/** @var d3_totp_UserController */
|
||||
protected $_oController;
|
||||
|
||||
protected $sControllerClass = d3_totp_UserController::class;
|
||||
protected $sControllerClass = UserController::class;
|
||||
|
||||
/**
|
||||
* setup basic requirements
|
||||
@ -36,7 +37,7 @@ class d3_totp_UserControllerTest extends d3TotpUnitTestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->_oController = oxNew(d3_totp_UserController::class);
|
||||
$this->_oController = oxNew(UserController::class);
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
|
Loading…
Reference in New Issue
Block a user