From 9c5e968171cfb58d98a85c5e656ee987fbec2775 Mon Sep 17 00:00:00 2001 From: Phil Mareu Date: Fri, 19 Jan 2024 09:15:18 -0600 Subject: [PATCH] Update custom-helpers.md with more consistent use of "Feature" --- custom-helpers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/custom-helpers.md b/custom-helpers.md index 4a517f9..7ba908e 100644 --- a/custom-helpers.md +++ b/custom-helpers.md @@ -45,7 +45,7 @@ function mockPayments(): object return $client; } -// tests/Features/PaymentsTest.php +// tests/Feature/PaymentsTest.php it('may buy a book', function () { $client = mockPayments(); @@ -63,7 +63,7 @@ use Mockery; // tests/TestCase.php class TestCase extends BaseTestCase { - public function mockPayments(): void + protected function mockPayments(): void { $client = Mockery::mock(PaymentClient::class); @@ -74,9 +74,9 @@ class TestCase extends BaseTestCase } // tests/Pest.php -uses(TestCase::class)->in('Features'); +uses(TestCase::class)->in('Feature'); -// tests/Features/PaymentsTest.php +// tests/Feature/PaymentsTest.php it('may buy a book', function () { $client = $this->mockPayments();