Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 15, 2022
1 parent 0c877ab commit a03b8ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stubs/pest-tests/inertia/InviteTeamMemberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
});

test('team member invitations can be cancelled', function () {
Mail::fake();

$this->actingAs($user = User::factory()->withPersonalTeam()->create());

$invitation = $user->currentTeam->teamInvitations()->create([
Expand Down
2 changes: 2 additions & 0 deletions stubs/pest-tests/livewire/InviteTeamMemberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
});

test('team member invitations can be cancelled', function () {
Mail::fake();

$this->actingAs($user = User::factory()->withPersonalTeam()->create());

// Add the team member...
Expand Down
2 changes: 2 additions & 0 deletions stubs/tests/inertia/InviteTeamMemberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public function test_team_members_can_be_invited_to_team()

public function test_team_member_invitations_can_be_cancelled()
{
Mail::fake();

$this->actingAs($user = User::factory()->withPersonalTeam()->create());

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

0 comments on commit a03b8ec

Please sign in to comment.