<p><b>@gravitystorm</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2257#discussion_r293063310">test/application_system_test_case.rb</a>:</p>
<pre style='color:#555'>> @@ -18,4 +18,10 @@ def initialize(*args)
       .to_return(:status => 404)
     super(*args)
   end
+
+  # Phantomjs can pick up browser Accept-Language preferences from your desktop environment.
+  # We don't want this to happen during the tests!
+  setup do
+    page.driver.add_headers("Accept-Language" => "en")
+  end
</pre>
<p>It was deliberately in this commit, since the change to the issue comments submit button exposed the problem with the language handling in the system tests. So I thought it was useful to put them both in the same commit to fully illustrate why I was doing it and what sort of test it affects - but I can break it into two commits if you prefer.</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/pull/2257?email_source=notifications&email_token=AAK2OLMZAKG54NXDJLLM3HDP2E74FA5CNFSM4HXNA2A2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3LK3FA#discussion_r293063310">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLNX25WS7ZNIS45VXDP2E74FANCNFSM4HXNA2AQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLL6QMJXXNURC3E4PN3P2E74FA5CNFSM4HXNA2A2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3LK3FA.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/pull/2257?email_source=notifications\u0026email_token=AAK2OLMZAKG54NXDJLLM3HDP2E74FA5CNFSM4HXNA2A2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3LK3FA#discussion_r293063310",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2257?email_source=notifications\u0026email_token=AAK2OLMZAKG54NXDJLLM3HDP2E74FA5CNFSM4HXNA2A2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3LK3FA#discussion_r293063310",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>