From 2aad2b1bb0513bcb1af979006f0767ac52529fb4 Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Thu, 11 Sep 2014 15:06:53 +0200 Subject: [PATCH] Fixes infludb default port --- spec/InfluxDB/OptionsSpec.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/InfluxDB/OptionsSpec.php b/spec/InfluxDB/OptionsSpec.php index bca74574f..5ac0c4004 100644 --- a/spec/InfluxDB/OptionsSpec.php +++ b/spec/InfluxDB/OptionsSpec.php @@ -15,7 +15,7 @@ class OptionsSpec extends ObjectBehavior function it_should_create_a_valid_tcp_endpoint() { $this->getTcpEndpointFor("mine") - ->shouldReturn("http://localhost:1806/db/mine/series?u=root&p=root"); + ->shouldReturn("http://localhost:8086/db/mine/series?u=root&p=root"); } function it_should_allows_option_override_for_tcp_endpoint() @@ -32,6 +32,6 @@ class OptionsSpec extends ObjectBehavior { $this->setProtocol("https"); $this->getTcpEndpointFor("me") - ->shouldReturn("https://localhost:1806/db/me/series?u=root&p=root"); + ->shouldReturn("https://localhost:8086/db/me/series?u=root&p=root"); } }