delete custom bootstrap and add codestyle fix
This commit is contained in:
parent
6fe2fdfd3e
commit
696115057c
3 changed files with 5 additions and 19 deletions
|
@ -2970,6 +2970,5 @@ class ApiClient
|
|||
Client::METHOD_GET,
|
||||
$request
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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';
|
Loading…
Add table
Reference in a new issue