title: Laravel 5.7: Should the "remember" cookie get deleted when logging out?
body: <p>I have a custom <code>LoginController</code> etc. So in my test, when logging a user out, the user's <code>remember</code>-cookie is left untouched. </p>
  
  <p>I am basically using the same logout code as provided in the default <code>LoginController</code>:</p>
  
  <pre><code>public function logout(Request $request)
  {
      Auth::guard()-&gt;logout();
  
      $request-&gt;session()-&gt;invalidate();
  
      return redirect(route('home'));
  }
  </code></pre>
  
  <p>And then in my test I check if the cookie is missing. This is the assertion that fails:
  <code>$response-&gt;assertCookieMissing(Auth::guard()-&gt;getRecallerName());</code></p>
  
  <blockquote>
    <p>Should the "remember" cookie get deleted when logging out?</p>
  </blockquote>