2014-11-06 02:44:52 +03:00
|
|
|
<?php
|
|
|
|
|
2016-07-22 01:01:47 +03:00
|
|
|
/**
|
2017-06-22 00:55:08 +03:00
|
|
|
* PHP version 5.4
|
2016-07-22 01:01:47 +03:00
|
|
|
*
|
|
|
|
* API client test class
|
|
|
|
*
|
|
|
|
* @category RetailCrm
|
|
|
|
* @package RetailCrm
|
|
|
|
* @author RetailCrm <integration@retailcrm.ru>
|
|
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
2019-08-30 14:10:52 +03:00
|
|
|
* @link https://help.retailcrm.ru/Developers/ApiVersion5
|
2016-07-22 01:01:47 +03:00
|
|
|
*/
|
|
|
|
|
2014-11-06 02:44:52 +03:00
|
|
|
namespace RetailCrm\Tests;
|
|
|
|
|
|
|
|
use RetailCrm\Test\TestCase;
|
|
|
|
|
2016-07-22 01:01:47 +03:00
|
|
|
/**
|
|
|
|
* Class ApiClientTest
|
|
|
|
*
|
|
|
|
* @category RetailCrm
|
|
|
|
* @package RetailCrm
|
|
|
|
* @author RetailCrm <integration@retailcrm.ru>
|
|
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
2019-08-30 14:10:52 +03:00
|
|
|
* @link https://help.retailcrm.ru/Developers/ApiVersion5
|
2016-07-22 01:01:47 +03:00
|
|
|
*/
|
2014-11-06 02:44:52 +03:00
|
|
|
class ApiClientTest extends TestCase
|
|
|
|
{
|
|
|
|
/**
|
2017-06-22 00:55:08 +03:00
|
|
|
* @group client
|
2014-11-06 02:44:52 +03:00
|
|
|
*/
|
|
|
|
public function testConstruct()
|
|
|
|
{
|
|
|
|
$client = static::getApiClient();
|
|
|
|
|
2017-06-22 00:55:08 +03:00
|
|
|
static::assertInstanceOf('RetailCrm\ApiClient', $client);
|
2014-11-06 02:44:52 +03:00
|
|
|
}
|
|
|
|
}
|