1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

delete custom bootstrap and add codestyle fix

This commit is contained in:
Sergey Chazov 2020-09-03 12:40:26 +03:00
parent 6fe2fdfd3e
commit 696115057c
3 changed files with 5 additions and 19 deletions

View file

@ -2970,6 +2970,5 @@ class ApiClient
Client::METHOD_GET,
$request
);
}
}

View file

@ -20,6 +20,10 @@ use Intaro\RetailCrm\Model\Api\Response\SmsVerification\SmsVerificationCreateRes
use Intaro\RetailCrm\Model\Api\Response\SmsVerification\SmsVerificationStatusRequest;
use Intaro\RetailCrm\Model\Api\Response\SmsVerification\SmsVerificationStatusResponse;
/**
* Trait LoyaltyTrait
* @package Intaro\RetailCrm\Component\ApiClient\Traits
*/
trait LoyaltyTrait
{
/**
@ -57,4 +61,4 @@ trait LoyaltyTrait
return Deserializer::deserializeArray($response->getResponseBody(), SmsVerificationStatusResponse::class);
}
}
}

View file

@ -1,17 +0,0 @@
<?php
// Подключение ядра 1С-Битрикс
define ('NOT_CHECK_PERMISSIONS', true);
define ('NO_AGENT_CHECK', true);
$GLOBALS['DBType'] = 'mysql';
$_SERVER['DOCUMENT_ROOT'] = realpath(__DIR__ . '/../..' );
require($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_before.php');
// Искуственная авторизация в роли админа
$_SESSION['SESS_AUTH']['USER_ID'] = 1;
// Подключение автозаргрузки Composer
require_once $_SERVER['DOCUMENT_ROOT'] . '/vendor/autoload.php';
\Bitrix\Main\Loader::includeModule('intaro.retailcrm');
\Bitrix\Main\Loader::includeModule('sale');
require_once $_SERVER['DOCUMENT_ROOT'] . '/local/tests/helpers/Helpers.php';