Point the test suite at the database that is actually running

0a0ddd6 · Gabriel Morell · 2026-08-10 22:10

2 files +5 -0
Message
{commit_body(@commit)}

Files changed

modified config/test.exs
+5 −0
@@ -25,6 +25,11 @@ config :room_sanctum,
25 25 password: "postgres",
26 26 hostname: "localhost",
27 27 database: "room_sanctum_test#{System.get_env("MIX_TEST_PARTITION")}",
28 + # Matching dev.exs: postgres listens on 54321 here, and the geo_postgis
29 + # types have to be registered or any query touching a geometry column
30 + # fails to decode.
31 + port: String.to_integer(System.get_env("PGPORT") || "54321"),
32 + types: RoomSanctum.PostgresTypes,
28 33 pool: Ecto.Adapters.SQL.Sandbox,
29 34 pool_size: 10
30 35

Parents: 1e1641e