mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-21 20:56:07 +03:00
update for OC 3.0
This commit is contained in:
parent
6bf58537ee
commit
5d6fd908f2
5
tests/2.3/TestCase.php
Normal file
5
tests/2.3/TestCase.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
class TestCase extends OpenCartTest
|
||||
{
|
||||
}
|
5
tests/3.0/TestCase.php
Normal file
5
tests/3.0/TestCase.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
class TestCase extends \Tests\OpenCartTest
|
||||
{
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
class ControllerRetailcrmAdminTest extends OpenCartTest
|
||||
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||
|
||||
class ControllerRetailcrmAdminTest extends TestCase
|
||||
{
|
||||
const MODULE_TITLE = 'retailcrm';
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
class ModelRetailcrmCustomerAdminTest extends OpenCartTest
|
||||
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||
|
||||
class ModelRetailcrmCustomerAdminTest extends TestCase
|
||||
{
|
||||
private $customerModel;
|
||||
private $apiClientMock;
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
class ModelRetailcrmEventAdminTest extends OpenCartTest
|
||||
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||
|
||||
class ModelRetailcrmEventAdminTest extends TestCase
|
||||
{
|
||||
const CODE = 'test';
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
class ModelRetailcrmOrderAdminTest extends OpenCartTest
|
||||
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||
|
||||
class ModelRetailcrmOrderAdminTest extends TestCase
|
||||
{
|
||||
private $orderModel;
|
||||
private $apiClientMock;
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
class ModelRetailcrmPricesAdminTest extends OpenCartTest
|
||||
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||
|
||||
class ModelRetailcrmPricesAdminTest extends TestCase
|
||||
{
|
||||
private $pricesModel;
|
||||
private $apiClientMock;
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
class ControllerRetailcrmApiCatalogTest extends OpenCartTest
|
||||
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||
|
||||
class ControllerRetailcrmApiCatalogTest extends TestCase
|
||||
{
|
||||
private $apiKey;
|
||||
private $retailcrm;
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
class ModelRetailcrmCustomerCatalogTest extends OpenCartTest
|
||||
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||
|
||||
class ModelRetailcrmCustomerCatalogTest extends TestCase
|
||||
{
|
||||
private $customerModel;
|
||||
private $apiClientMock;
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
class ModelRetailcrmOrderCatalogTest extends OpenCartTest
|
||||
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||
|
||||
class ModelRetailcrmOrderCatalogTest extends TestCase
|
||||
{
|
||||
private $orderModel;
|
||||
private $apiClientMock;
|
||||
|
Loading…
Reference in New Issue
Block a user