File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,15 +152,15 @@ defmodule AshPostgres.DevMigrationsTest do
152152 assert [ _extensions , migration , _migration ] =
153153 Path . wildcard ( "priv/dev_test_repo/migrations/**/*_migrate_resources*.exs" )
154154
155- assert capture_log ( fn -> migrate ( migration ) end ) =~ "create table posts"
155+ assert capture_log ( [ level: :debug ] , fn -> migrate ( migration ) end ) =~ "create table posts"
156156
157157 AshPostgres.MigrationGenerator . generate ( Domain ,
158158 snapshot_path: "priv/resource_snapshots" ,
159159 migration_path: "priv/dev_test_repo/migrations" ,
160160 auto_name: true
161161 )
162162
163- assert capture_log ( fn -> migrate ( migration ) end ) =~ "create table posts"
163+ assert capture_log ( [ level: :debug ] , fn -> migrate ( migration ) end ) =~ "create table posts"
164164 end
165165 end
166166
@@ -217,7 +217,7 @@ defmodule AshPostgres.DevMigrationsTest do
217217 )
218218 |> Enum . reject ( & String . contains? ( & 1 , "extensions" ) )
219219
220- assert capture_log ( fn -> tenant_migrate ( ) end ) =~ "create table org_#{ org . id } .posts"
220+ assert capture_log ( [ level: :debug ] , fn -> tenant_migrate ( ) end ) =~ "create table org_#{ org . id } .posts"
221221 end
222222 end
223223
You can’t perform that action at this time.
0 commit comments