summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/scala/org/xapek/influxdb/InfluxdbTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/org/xapek/influxdb/InfluxdbTest.scala b/src/test/scala/org/xapek/influxdb/InfluxdbTest.scala
index 9284780..084b25f 100644
--- a/src/test/scala/org/xapek/influxdb/InfluxdbTest.scala
+++ b/src/test/scala/org/xapek/influxdb/InfluxdbTest.scala
@@ -9,7 +9,7 @@ class AppTest {
@Test
def testStatements() = {
- val db :InfluxDB = "http://localhost"
+ val db :InfluxDB = fromUrl("http://localhost")
assertTrue((SELECT("foo") FROM "bla" WHERE col("a") == "asd")
.toString().contains("as"))