Skip to content

Commit a03b8ec

Browse files
committed
wip
1 parent 0c877ab commit a03b8ec

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

stubs/pest-tests/inertia/InviteTeamMemberTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
});
2121

2222
test('team member invitations can be cancelled', function () {
23+
Mail::fake();
24+
2325
$this->actingAs($user = User::factory()->withPersonalTeam()->create());
2426

2527
$invitation = $user->currentTeam->teamInvitations()->create([

stubs/pest-tests/livewire/InviteTeamMemberTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
});
2424

2525
test('team member invitations can be cancelled', function () {
26+
Mail::fake();
27+
2628
$this->actingAs($user = User::factory()->withPersonalTeam()->create());
2729

2830
// Add the team member...

stubs/tests/inertia/InviteTeamMemberTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public function test_team_members_can_be_invited_to_team()
3030

3131
public function test_team_member_invitations_can_be_cancelled()
3232
{
33+
Mail::fake();
34+
3335
$this->actingAs($user = User::factory()->withPersonalTeam()->create());
3436

3537
$invitation = $user->currentTeam->teamInvitations()->create([

0 commit comments

Comments
 (0)