<p></p>
<p>I used the latest Ubuntu release (18.04) on Vritual Box, I followed the guide <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md">https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md</a> to install all dependencies. and when running the "bundle exec rake test:db", I keep getting thrown the error below for each test.</p>
<ol>
<li></li>
</ol>
<p>Error:</p>
<p>ReportDiaryEntryTest#test_it_works:<br>
ActionController::MissingExactTemplate: UsersController#login is missing a template for request formats: text/html<br>
config/initializers/compressed_requests.rb:27:in <code>call' config/initializers/cors.rb:9:in </code>call'**</p>
<ol start="2">
<li></li>
</ol>
<p>Failure:<br>
Api::PermissionsControllerTest#test_permissions_oauth [/home/gs/Projects/C++/OSM/openstreetmap-website/test/controllers/api/permissions_controller_test.rb:42]:<br>
Expected response to be a <2XX: success>, but was a <406: Not Acceptable><br>
Response body:</p>
<ol start="3">
<li></li>
</ol>
<p>UserCreationTest#test_user_create_submit_duplicate_username:<br>
ActionView::MissingTemplate: Missing template users/new, application/new with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in:</p>
<ul>
<li>
<p>"/home/gs/Projects/C++/OSM/openstreetmap-website/app/views"</p>
</li>
<li>
<p>"/var/lib/gems/2.5.0/gems/actiontext-6.0.2.1/app/views"</p>
</li>
<li>
<p>"/var/lib/gems/2.5.0/gems/actionmailbox-6.0.2.1/app/views"</p>
<p>app/controllers/users_controller.rb:247:in <code>create' config/initializers/compressed_requests.rb:27:in </code>call'<br>
config/initializers/cors.rb:9:in <code>call' test/integration/user_creation_test.rb:66:in </code>block (4 levels) in test_user_create_submit_duplicate_username'<br>
test/integration/user_creation_test.rb:65:in <code>block (3 levels) in test_user_create_submit_duplicate_username' test/integration/user_creation_test.rb:64:in </code>block (2 levels) in test_user_create_submit_duplicate_username'<br>
test/integration/user_creation_test.rb:63:in <code>block in test_user_create_submit_duplicate_username' test/integration/user_creation_test.rb:60:in </code>each'<br>
test/integration/user_creation_test.rb:60:in `test_user_create_submit_duplicate_username'</p>
</li>
</ul>
<ol start="4">
<li></li>
</ol>
<p>Error:<br>
UserCreationTest#test_user_create_success:<br>
ActionView::MissingTemplate: Missing template notifier/signup_confirm with "mailer". Searched in:</p>
<ul>
<li>
<p>"notifier"</p>
<p>app/mailers/notifier.rb:19:in <code>block in signup_confirm' app/mailers/notifier.rb:203:in </code>block in with_recipient_locale'<br>
app/mailers/notifier.rb:202:in <code>with_recipient_locale' app/mailers/notifier.rb:14:in </code>signup_confirm'<br>
app/controllers/users_controller.rb:109:in <code>save' config/initializers/compressed_requests.rb:27:in </code>call'<br>
config/initializers/cors.rb:9:in <code>call' test/integration/user_creation_test.rb:106:in </code>block (4 levels) in test_user_create_success'<br>
test/integration/user_creation_test.rb:105:in <code>block (3 levels) in test_user_create_success' test/integration/user_creation_test.rb:104:in </code>block (2 levels) in test_user_create_success'<br>
test/integration/user_creation_test.rb:103:in <code>block in test_user_create_success' test/integration/user_creation_test.rb:84:in </code>each'<br>
test/integration/user_creation_test.rb:84:in `test_user_create_success'</p>
</li>
</ul>
<p>there are 57 failures, 352 errors. Has anyone encountered the same problem?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2556">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIUQOYJNWHWY7MODXDRHGZL3ANCNFSM4LG2SXTA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLNOPIHSPNDZRGT72N3RHGZL3A5CNFSM4LG2SXTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IUXU6ZA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2556",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2556",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>