Skip to content

Commit

Permalink
Fix warnings due to not having routes at compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
noahduncan authored and cpjolicoeur committed Apr 10, 2024
1 parent d969701 commit ca7ace3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/apps/phx1_7/bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca7ace3

Please sign in to comment.