mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 08:03:51 +02: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