diff options
author | Michael Schaefermeyer <michael.schaefermeyer@gmail.com> | 2016-08-01 13:31:38 +0200 |
---|---|---|
committer | Michael Schaefermeyer <michael.schaefermeyer@gmail.com> | 2016-08-01 13:31:38 +0200 |
commit | fe57da205709127c57a6de05746b749d6ee1e681 (patch) | |
tree | b52a7d0b9042ac523931bfc656764da3681ea020 | |
parent | 519e36c23701b9d0d8af595aba67a02b649724c9 (diff) | |
download | boltex-fe57da205709127c57a6de05746b749d6ee1e681.tar.gz boltex-fe57da205709127c57a6de05746b749d6ee1e681.tar.xz |
Fix test
-rw-r--r-- | lib/boltex.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/boltex.ex b/lib/boltex.ex index af1a770..876ba44 100644 --- a/lib/boltex.ex +++ b/lib/boltex.ex @@ -1,13 +1,13 @@ defmodule Boltex do alias Boltex.Bolt - def test(host, port, query, params \\ %{}) do + def test(host, port, query, params \\ %{}, auth \\ nil) do {:ok, p} = :gen_tcp.connect host, port, [active: false, mode: :binary, packet: :raw] :ok = Bolt.handshake :gen_tcp, p :ok = Bolt.init :gen_tcp, p, params - IO.inspect Bolt.run_statement(:gen_tcp, p, query, params) + IO.inspect Bolt.run_statement(:gen_tcp, p, query) end end |