update for OC 3.0

This commit is contained in:
Akolzin Dmitry 2020-02-19 12:37:03 +03:00
parent 6bf58537ee
commit 5d6fd908f2
10 changed files with 34 additions and 8 deletions

5
tests/2.3/TestCase.php Normal file
View File

@ -0,0 +1,5 @@
<?php
class TestCase extends OpenCartTest
{
}

5
tests/3.0/TestCase.php Normal file
View File

@ -0,0 +1,5 @@
<?php
class TestCase extends \Tests\OpenCartTest
{
}

View File

@ -1,6 +1,8 @@
<?php <?php
class ControllerRetailcrmAdminTest extends OpenCartTest require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
class ControllerRetailcrmAdminTest extends TestCase
{ {
const MODULE_TITLE = 'retailcrm'; const MODULE_TITLE = 'retailcrm';

View File

@ -1,6 +1,8 @@
<?php <?php
class ModelRetailcrmCustomerAdminTest extends OpenCartTest require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
class ModelRetailcrmCustomerAdminTest extends TestCase
{ {
private $customerModel; private $customerModel;
private $apiClientMock; private $apiClientMock;

View File

@ -1,6 +1,8 @@
<?php <?php
class ModelRetailcrmEventAdminTest extends OpenCartTest require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
class ModelRetailcrmEventAdminTest extends TestCase
{ {
const CODE = 'test'; const CODE = 'test';

View File

@ -1,6 +1,8 @@
<?php <?php
class ModelRetailcrmOrderAdminTest extends OpenCartTest require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
class ModelRetailcrmOrderAdminTest extends TestCase
{ {
private $orderModel; private $orderModel;
private $apiClientMock; private $apiClientMock;

View File

@ -1,6 +1,8 @@
<?php <?php
class ModelRetailcrmPricesAdminTest extends OpenCartTest require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
class ModelRetailcrmPricesAdminTest extends TestCase
{ {
private $pricesModel; private $pricesModel;
private $apiClientMock; private $apiClientMock;

View File

@ -1,6 +1,8 @@
<?php <?php
class ControllerRetailcrmApiCatalogTest extends OpenCartTest require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
class ControllerRetailcrmApiCatalogTest extends TestCase
{ {
private $apiKey; private $apiKey;
private $retailcrm; private $retailcrm;

View File

@ -1,6 +1,8 @@
<?php <?php
class ModelRetailcrmCustomerCatalogTest extends OpenCartTest require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
class ModelRetailcrmCustomerCatalogTest extends TestCase
{ {
private $customerModel; private $customerModel;
private $apiClientMock; private $apiClientMock;

View File

@ -1,6 +1,8 @@
<?php <?php
class ModelRetailcrmOrderCatalogTest extends OpenCartTest require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
class ModelRetailcrmOrderCatalogTest extends TestCase
{ {
private $orderModel; private $orderModel;
private $apiClientMock; private $apiClientMock;