From a29f2e51341f6d813e524fe4cf46576b06cede0b Mon Sep 17 00:00:00 2001 From: danibrutal Date: Fri, 3 Jul 2015 17:20:35 +0200 Subject: [PATCH] Adding Client tests --- tests/unit/ClientTest.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/unit/ClientTest.php b/tests/unit/ClientTest.php index 918d60df69..eee382698e 100644 --- a/tests/unit/ClientTest.php +++ b/tests/unit/ClientTest.php @@ -9,12 +9,13 @@ class ClientTest extends \PHPUnit_Framework_TestCase /** @var Client $client */ protected $client = null; - - + public function testBaseURl() { - $this->assertTrue( - true + $client = new Client('localhost', 8086); + + $this->assertEquals( + $client->getBaseURI(), 'http://localhost:8086' ); } } \ No newline at end of file