Files
librenms-librenms/tests/unit/ClientTest.php

21 lines
373 B
PHP
Raw Normal View History

2015-06-18 14:59:00 +02:00
<?php
2015-06-23 09:19:24 +02:00
namespace InfluxDB\Test;
2015-06-18 14:59:00 +02:00
2015-06-23 09:19:24 +02:00
use InfluxDB\Client;
2015-06-18 14:59:00 +02:00
class ClientTest extends \PHPUnit_Framework_TestCase
{
/** @var Client $client */
protected $client = null;
2015-07-03 17:20:35 +02:00
2015-06-18 14:59:00 +02:00
public function testBaseURl()
{
2015-07-03 17:20:35 +02:00
$client = new Client('localhost', 8086);
$this->assertEquals(
$client->getBaseURI(), 'http://localhost:8086'
2015-06-18 14:59:00 +02:00
);
}
}