From 72eda1e9094e364cb96ba0011020aa2fe72efe61 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 10 Apr 2024 13:29:31 -0700 Subject: [PATCH] Improve naming --- tests/Feature/Checkouts/AssetCheckoutTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Feature/Checkouts/AssetCheckoutTest.php b/tests/Feature/Checkouts/AssetCheckoutTest.php index ac28a31546..f01b62cee3 100644 --- a/tests/Feature/Checkouts/AssetCheckoutTest.php +++ b/tests/Feature/Checkouts/AssetCheckoutTest.php @@ -72,7 +72,7 @@ class AssetCheckoutTest extends TestCase ->assertSessionHasErrors(); } - public function assetCheckoutTargets(): array + public function checkoutTargets(): array { return [ 'User' => [function () { @@ -118,8 +118,8 @@ class AssetCheckoutTest extends TestCase ]; } - /** @dataProvider assetCheckoutTargets */ - public function testAnAssetCanBeCheckedOutToAUser($data) + /** @dataProvider checkoutTargets */ + public function testAnAssetCanBeCheckedOut($data) { Event::fake([CheckoutableCheckedOut::class]);