From c8fc4afe655a1eebe6e3ce138bfe0e9b3ccbac52 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Thu, 15 May 2025 15:31:18 -0700 Subject: [PATCH] Fix method name --- .../Email/EmailNotificationsUponCheckoutTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckoutTest.php b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckoutTest.php index a72b5a6bd6..a1f701192e 100644 --- a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckoutTest.php +++ b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckoutTest.php @@ -45,7 +45,7 @@ class EmailNotificationsUponCheckoutTest extends TestCase $this->fireCheckoutEvent(); - $this->thisAssertUserReceivedEmail(); + $this->assertUserReceivedEmail(); } public function test_email_sent_to_user_when_category_using_default_eula() @@ -56,7 +56,7 @@ class EmailNotificationsUponCheckoutTest extends TestCase $this->fireCheckoutEvent(); - $this->thisAssertUserReceivedEmail(); + $this->assertUserReceivedEmail(); } public function test_email_sent_to_user_when_category_using_local_eula() @@ -65,7 +65,7 @@ class EmailNotificationsUponCheckoutTest extends TestCase $this->fireCheckoutEvent(); - $this->thisAssertUserReceivedEmail(); + $this->assertUserReceivedEmail(); } public function test_email_sent_to_user_when_category_set_to_explicitly_send_email() @@ -74,7 +74,7 @@ class EmailNotificationsUponCheckoutTest extends TestCase $this->fireCheckoutEvent(); - $this->thisAssertUserReceivedEmail(); + $this->assertUserReceivedEmail(); } public function test_admin_cc_email_still_sent_when_category_is_not_set_to_send_email_to_user() @@ -98,7 +98,7 @@ class EmailNotificationsUponCheckoutTest extends TestCase )); } - private function thisAssertUserReceivedEmail(): void + private function assertUserReceivedEmail(): void { Mail::assertSent(CheckoutAssetMail::class, function (CheckoutAssetMail $mail) { return $mail->hasTo($this->user->email);