Improve naming

This commit is contained in:
Marcus Moore 2025-01-29 15:56:20 -08:00
parent e2805f4033
commit 70aed45bfe
No known key found for this signature in database

View file

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