mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-25 14:46:06 +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
|
<?php
|
||||||
|
|
||||||
class ControllerRetailcrmAdminTest extends OpenCartTest
|
require_once __DIR__ . '/../' . getenv('OPENCART') . '/TestCase.php';
|
||||||
|
|
||||||
|
class ControllerRetailcrmAdminTest extends TestCase
|
||||||
{
|
{
|
||||||
const MODULE_TITLE = 'retailcrm';
|
const MODULE_TITLE = 'retailcrm';
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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';
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user