2016-04-09 16:42:46 +02:00
|
|
|
<?php
|
|
|
|
namespace Todaymade\Daux\Format\Confluence;
|
|
|
|
|
2017-11-11 07:22:27 +01:00
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
|
|
|
|
class ApiTest extends TestCase
|
2016-04-09 16:42:46 +02:00
|
|
|
{
|
2016-07-27 21:32:51 +02:00
|
|
|
// this test supports upgrade Guzzle to version 6
|
|
|
|
public function testClientOptions()
|
|
|
|
{
|
|
|
|
$api = new Api('http://test.com/', 'user', 'pass');
|
|
|
|
$this->assertEquals('test.com', $api->getClient()->getConfig()['base_uri']->getHost());
|
|
|
|
}
|
|
|
|
}
|