mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Adding Client tests
This commit is contained in:
@@ -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'
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user