daux.io/tests/Format/Confluence/ApiTest.php
2016-07-29 08:02:34 +02:00

13 lines
367 B
PHP

<?php
namespace Todaymade\Daux\Format\Confluence;
class ApiTest extends \PHPUnit_Framework_TestCase
{
// 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());
}
}