Skip to content

Commit

Permalink
Adding missing configuration required for tests to pass locally
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed May 21, 2021
1 parent d16015b commit 60390bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Feature/RegisterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ class RegisterTest extends FeatureTestCase

public function test_user_can_register()
{
config(['monica.disable_signup' => false]);

Mail::fake();

$params = [
Expand All @@ -40,6 +42,8 @@ public function test_user_can_register()

public function test_user_cannot_register_twice()
{
config(['monica.disable_signup' => false]);

Mail::fake();

$user = factory(User::class)->create();
Expand All @@ -64,6 +68,8 @@ public function test_user_cannot_register_twice()

public function test_it_dispatches_an_email()
{
config(['monica.disable_signup' => false]);

$route = Notification::route('mail', 'test@test.com');
Notification::fake();

Expand Down

0 comments on commit 60390bb

Please sign in to comment.