Failing tests in discourse_dev due to multisite

That database doesn’t exist yet in the discourse_dev image, so you have to create it yourself, with something a like this:

./bin/docker/psql “-c ‘ALTER USER discourse WITH SUPERUSER;’”
RAILS_ENV=test ./bin/docker/rake db:drop db:create db:migrate

@sam did that build ever finish? The latest discourse_dev image I’m seeing is from two months ago.

3 Likes