Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed Sep 21, 2022
1 parent 78f700a commit 05001f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Http/Controllers/Mixins/RegisterControllerMixinTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class RegisterControllerMixinTest extends TestCase
{
public function testCreate()
{
config(['biigle.user_registration' => true]);
Notification::fake();
Honeypot::disable();

Expand All @@ -38,6 +39,7 @@ public function testCreate()

public function testCreateNo()
{
config(['biigle.user_registration' => true]);
Notification::fake();
Honeypot::disable();

Expand All @@ -57,6 +59,7 @@ public function testCreateNo()

public function testCreateDuplicate()
{
config(['biigle.user_registration' => true]);
Notification::fake();
$s = NewsletterSubscriber::factory()->create();
Honeypot::disable();
Expand Down

0 comments on commit 05001f4

Please sign in to comment.