<p dir="auto">Need to run docker-compose run --rm web bundle exec rake db:create before running the tests, otherwise, it will trow the next error:</p>
<p dir="auto">We could not find your database: osm_test. Which can be found in the database configuration file located at config/database.yml. (ActiveRecord::NoDatabaseError)</p>
<p dir="auto">To resolve this issue:</p>
<ul dir="auto">
<li>Did you create the database for this app, or delete it? You may need to create your database.</li>
<li>Has the database name changed? Check your database.yml config has the correct database name.</li>
</ul>
<p dir="auto">To create your database, run:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    bin/rails db:create"><pre class="notranslate"><code>    bin/rails db:create
</code></pre></div>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/3575'>https://github.com/openstreetmap/openstreetmap-website/pull/3575</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3575/commits/71f12c88f92e3504e4b790de7af9f0d28aa2f400" class="commit-link">71f12c8</a>  Update DOCKER.md</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3575/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3575/files#diff-972512ed94fce217ace10a2303390c321d822f967f2f008c353fb5f57152b7d0">DOCKER.md</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3575.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3575.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3575.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3575.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3575">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLO7PA2XDVT5QW7TRG3VPNI5DANCNFSM5Y7L5YPA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLP54KKEY2OEVX3JMRDVPNI5DA5CNFSM5Y7L5YPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4S7MYF6Q.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3575</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3575",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3575",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>