1
0
mirror of synced 2024-11-24 20:56:03 +03:00
mg-bot-api-client-php/tests/bootstrap.php

16 lines
387 B
PHP
Raw Normal View History

2019-06-10 16:24:22 +03:00
<?php
if (function_exists('date_default_timezone_set')
&& function_exists('date_default_timezone_get')
) {
date_default_timezone_set(date_default_timezone_get());
}
$loader = include dirname(__DIR__) . '/vendor/autoload.php';
$loader->add('RetailCrm\\Mg\\Bot\\Test', __DIR__);
use Symfony\Component\Dotenv\Dotenv;
$dotenv = new Dotenv();
$dotenv->load(__DIR__ . '/../.env');