Skip to content

Commit 62ab3d8

Browse files
committed
add CLICKHOUSE_USER as well
1 parent 1be78b6 commit 62ab3d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_helper.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ alias Ecto.Integration.TestRepo
99
Application.put_env(:ecto_ch, TestRepo,
1010
adapter: Ecto.Adapters.ClickHouse,
1111
database: "ecto_ch_test",
12-
password: "default",
12+
username: System.get_env("CLICKHOUSE_USER", "default"),
13+
password: System.get_env("CLICKHOUSE_PASSWORD", "default"),
1314
show_sensitive_data_on_connection_error: true
1415
)
1516

0 commit comments

Comments
 (0)