Skip to content

Commit

Permalink
Repair bugs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertIV committed Dec 31, 2021
1 parent 2a267e1 commit b684e19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Api/AuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace EscolaLms\TemplatesEmail\Tests\Api;

use EscolaLms\Auth\Database\Seeders\AuthPermissionSeeder;
use EscolaLms\Auth\EscolaLmsAuthServiceProvider;
use EscolaLms\Auth\Events\EscolaLmsAccountMustBeEnableByAdminTemplateEvent;
use EscolaLms\Auth\Events\EscolaLmsAccountRegisteredTemplateEvent;
Expand Down Expand Up @@ -104,6 +105,7 @@ public function testResetPassword()

public function testAccountMustBeEnableByAdmin(): void
{
$this->seed(AuthPermissionSeeder::class);
Mail::fake();
Event::fake([EscolaLmsAccountMustBeEnableByAdminTemplateEvent::class]);
Notification::fake();
Expand Down

0 comments on commit b684e19

Please sign in to comment.