-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathtest.exs
More file actions
32 lines (26 loc) · 883 Bytes
/
test.exs
File metadata and controls
32 lines (26 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import Config
config :logger, level: :critical
config :phoenix_sync, mode: :disabled
config :phoenix_sync, Phoenix.Sync.LiveViewTest.Endpoint, []
config :phoenix_sync, Electric.Client, base_url: "http://localhost:3000"
# configure the support repo with random options so we can validate them in Phoenix.Sync.ConfigTest
config :phoenix_sync, Support.Repo,
username: "postgres",
password: "password",
hostname: "localhost",
database: "electric",
port: 54321,
stacktrace: true,
show_sensitive_data_on_connection_error: true,
pool_size: 10,
pool: Ecto.Adapters.SQL.Sandbox
config :phoenix_sync, Support.ConfigTestRepo,
username: "postgres",
password: "password",
hostname: "localhost",
database: "electric",
# phoenix_sync should fill in default port
# port: 54321,
stacktrace: true,
show_sensitive_data_on_connection_error: true,
pool_size: 10