/** * @test */ public function it_can_handle_correct_registration_with_activation() { $this->app['config']->set('laravolt.auth.activation.enable', true); Mail::fake(); $email = '*****@*****.**'; $this->visitRoute('auth::register')->type('Jon Dodo', 'name')->type($email, 'email')->type('asdf1234', 'password')->press(trans('auth::auth.register'))->seeRouteIs('auth::register'); Mail::assertSentTo($email, ActivationMail::class); }