Skip to content

Commit dc6951f

Browse files
committed
Improve method name
1 parent f7ed336 commit dc6951f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/Feature/Notifications/Email/EmailNotificationsUponCheckoutTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function test_email_sent_to_user_when_category_requires_acceptance()
4545

4646
$this->fireCheckoutEvent();
4747

48-
$this->assertUserReceivedEmail();
48+
$this->assertUserSentEmail();
4949
}
5050

5151
public function test_email_sent_to_user_when_category_using_default_eula()
@@ -56,7 +56,7 @@ public function test_email_sent_to_user_when_category_using_default_eula()
5656

5757
$this->fireCheckoutEvent();
5858

59-
$this->assertUserReceivedEmail();
59+
$this->assertUserSentEmail();
6060
}
6161

6262
public function test_email_sent_to_user_when_category_using_local_eula()
@@ -65,7 +65,7 @@ public function test_email_sent_to_user_when_category_using_local_eula()
6565

6666
$this->fireCheckoutEvent();
6767

68-
$this->assertUserReceivedEmail();
68+
$this->assertUserSentEmail();
6969
}
7070

7171
public function test_email_sent_to_user_when_category_set_to_explicitly_send_email()
@@ -74,7 +74,7 @@ public function test_email_sent_to_user_when_category_set_to_explicitly_send_ema
7474

7575
$this->fireCheckoutEvent();
7676

77-
$this->assertUserReceivedEmail();
77+
$this->assertUserSentEmail();
7878
}
7979

8080
public function test_handles_user_not_having_email_address_set()
@@ -135,7 +135,7 @@ private function fireCheckoutEvent(): void
135135
));
136136
}
137137

138-
private function assertUserReceivedEmail(): void
138+
private function assertUserSentEmail(): void
139139
{
140140
Mail::assertSent(CheckoutAssetMail::class, function (CheckoutAssetMail $mail) {
141141
return $mail->hasTo($this->user->email);

0 commit comments

Comments
 (0)