From d202d63457395c4f055802f8a05209013900f41f Mon Sep 17 00:00:00 2001 From: Noah Duncan Date: Tue, 9 Apr 2024 16:22:21 -0600 Subject: [PATCH] Fix warnings due to not having routes at compilation --- test/support/apps/phx1_7/bin/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/apps/phx1_7/bin/test b/test/support/apps/phx1_7/bin/test index 1d69880d..4f1be344 100755 --- a/test/support/apps/phx1_7/bin/test +++ b/test/support/apps/phx1_7/bin/test @@ -26,8 +26,8 @@ mix deps.get || { cleanup; echo 'Dependencies could not be fetched!'; exit 1; } MIX_ENV=test mix ecto.drop || { cleanup; echo 'Database could not be dropped'; exit 1; } MIX_ENV=test mix torch.install || { cleanup; echo 'Torch could not be installed!'; exit 1; } MIX_ENV=test mix torch.gen.html Blog Post posts title:string published:boolean published_at:datetime views:integer || { echo 'Torch files not generated!'; exit 1; } -MIX_ENV=test mix ecto.setup || { cleanup; echo 'Torch database could not be setup!'; exit 1; } patch -i ../../patches/install-route.diff -p 1 +MIX_ENV=test mix ecto.setup || { cleanup; echo 'Torch database could not be setup!'; exit 1; } MIX_ENV=test mix test || { echo 'Tests failed!'; cleanup; exit 1; } # Ensure that put_root_layout is used by default on > Phx 1.5