From 70aed45bfe6c5d4b5ee4ed964c58b414d2d35718 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 29 Jan 2025 15:56:20 -0800 Subject: [PATCH] Improve naming --- .../Notifications/Email/AssetAcceptanceReminderTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php b/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php index d84b2f7120..7411cfbd3b 100644 --- a/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php +++ b/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php @@ -68,7 +68,7 @@ class AssetAcceptanceReminderTest extends TestCase Mail::assertNotSent(CheckoutAssetMail::class); } - public static function users() + public static function acceptances() { yield 'User with locale set' => [ function () { @@ -86,10 +86,10 @@ class AssetAcceptanceReminderTest extends TestCase ]; } - #[DataProvider('users')] - public function testReminderIsSentToUser($data) + #[DataProvider('acceptances')] + public function testReminderIsSentToUser($callback) { - $checkoutAcceptance = $data(); + $checkoutAcceptance = $callback(); $this->actingAs($this->actor) ->post($this->routeFor($checkoutAcceptance))