1
0
geforkt von D3Public/oxtotp

change used classes from extension to default OXID class

Dieser Commit ist enthalten in:
Daniel Seifert 2019-08-09 08:53:02 +02:00
Ursprung fb863773ca
Commit 03cf29ce02
3 geänderte Dateien mit 9 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -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()

Datei anzeigen

@ -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()

Datei anzeigen

@ -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()