daux.io/tests/Format/Confluence/ApiTest.php

15 lines
381 B
PHP
Raw Normal View History

2016-04-09 16:42:46 +02:00
<?php
namespace Todaymade\Daux\Format\Confluence;
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());
}
}