Improve naming

This commit is contained in:
Marcus Moore 2024-04-10 13:29:31 -07:00
parent 7dbf8a8a8e
commit 72eda1e909
No known key found for this signature in database

View file

@ -72,7 +72,7 @@ class AssetCheckoutTest extends TestCase
->assertSessionHasErrors(); ->assertSessionHasErrors();
} }
public function assetCheckoutTargets(): array public function checkoutTargets(): array
{ {
return [ return [
'User' => [function () { 'User' => [function () {
@ -118,8 +118,8 @@ class AssetCheckoutTest extends TestCase
]; ];
} }
/** @dataProvider assetCheckoutTargets */ /** @dataProvider checkoutTargets */
public function testAnAssetCanBeCheckedOutToAUser($data) public function testAnAssetCanBeCheckedOut($data)
{ {
Event::fake([CheckoutableCheckedOut::class]); Event::fake([CheckoutableCheckedOut::class]);