@@ -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