title: Unit testing Laravel password reset email - mailable not queued
body: <p>I am using the auth that came with Laravel. I am testing the page where you put in your email and when you hit the submit button a password reset email will be sent to your email.</p>
  <p>The password reset email is sent when I do it manually. But I created this test to make sure the password reset email is sent but it's not working.</p>
  <blockquote>
  <p>There was 1 failure:</p>
  <p>1)
  The expected [Illuminate\Foundation\Auth\ResetPassword] mailable was not queued.
  Failed asserting that false is true.</p>
  </blockquote>
  <p>I am following this code:</p>
  <p><a href="https://github.com/JeffreyWay/council/blob/master/tests/Feature/Auth/RegisterUserTest.php" rel="nofollow noreferrer">https://github.com/JeffreyWay/council/blob/master/tests/Feature/Auth/RegisterUserTest.php</a></p>
  <pre><code>&lt;?php
  
  namespace Tests\Controllers\Unit;
  
  use Tests\TestCase;
  use Illuminate\Support\Facades\Mail;
  use Illuminate\Auth\Notifications\ResetPassword;
  use Illuminate\Foundation\Testing\RefreshDatabase;
  
  class ResetPasswordEmailTest extends TestCase
  {
  
      use RefreshDatabase;
  
  
      public function setUp()
      {
          parent::setUp();
          
          Mail::fake();
      }
  
  
      /** @test */
      public function does_send_password_reset_email()
      {
          $user = factory('App\User')-&gt;create();
  
          $this-&gt;post(route('password.email'), ['email' =&gt; $user-&gt;email])
               
          Mail::assertQueued(ResetPassword::class);
      }
  
  }
  </code></pre>