2016-04-09 16:42:46 +02:00
|
|
|
<?php
|
|
|
|
namespace Todaymade\Daux\Format\Confluence;
|
|
|
|
|
2016-07-27 21:32:51 +02:00
|
|
|
class ApiTest extends \PHPUnit_Framework_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());
|
|
|
|
}
|
|
|
|
}
|