title: Forcing locale in Laravel Dusk
body: <p>How can we force the locale used by Dusk within our tests?</p>
  
  <p>The browser is launched with FR locale set and thus my application is outputting French.</p>
  
  <p>I would need to make all tests consistently, regardless of the locale set by the developer on his system when running tests.</p>
  
  <p>In the middleware stack, I have a <code>LocaleMiddleware</code> responsible for picking a locale based on the request headers (sent automatically by the browser).</p>
  
  <p>If possible, I would like to avoid having test-specific code within the application code (as suggested below, to force a locale when environment is 'testing') </p>