1
0
mirror of synced 2024-11-24 14:26:06 +03:00
api-client-php/tests/RetailCrm/Tests/ApiClientTest.php

30 lines
539 B
PHP
Raw Normal View History

<?php
namespace RetailCrm\Tests;
use RetailCrm\Test\TestCase;
class ApiClientTest extends TestCase
{
/**
* @group unit
*/
public function testConstruct()
{
$client = static::getApiClient();
$this->assertInstanceOf('RetailCrm\ApiClient', $client);
}
2014-11-06 16:39:55 +03:00
/**
* @group integration
*/
public function testStatisticUpdate()
{
$client = static::getApiClient();
$response = $client->statisticUpdate();
$this->assertTrue($response->isSuccessful());
}
}