diff --git a/tests/Integration/Console/PromptsValidationTest.php b/tests/Integration/Console/PromptsValidationTest.php index b6f0f631b301..1ab80a3e62b9 100644 --- a/tests/Integration/Console/PromptsValidationTest.php +++ b/tests/Integration/Console/PromptsValidationTest.php @@ -15,7 +15,7 @@ protected function defineEnvironment($app) $app[Kernel::class]->registerCommand(new DummyPromptsValidationCommand()); $app[Kernel::class]->registerCommand(new DummyPromptsWithLaravelRulesCommand()); $app[Kernel::class]->registerCommand(new DummyPromptsWithLaravelRulesMessagesAndAttributesCommand()); - $app[Kernel::class]->registerCommand(new DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttibutesCommand()); + $app[Kernel::class]->registerCommand(new DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttributesCommand()); } public function testValidationForPrompts() @@ -37,7 +37,7 @@ public function testValidationWithLaravelRulesAndNoCustomization() public function testValidationWithLaravelRulesInlineMessagesAndAttributes() { $this - ->artisan(DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttibutesCommand::class) + ->artisan(DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttributesCommand::class) ->expectsQuestion('What is your name?', '') ->expectsOutputToContain('Your full name is mandatory.'); } @@ -71,7 +71,7 @@ public function handle() } } -class DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttibutesCommand extends Command +class DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttributesCommand extends Command { protected $signature = 'prompts-laravel-rules-inline-test'; diff --git a/tests/Integration/Routing/PrecognitionTest.php b/tests/Integration/Routing/PrecognitionTest.php index 21862425d39b..a87ca82b9180 100644 --- a/tests/Integration/Routing/PrecognitionTest.php +++ b/tests/Integration/Routing/PrecognitionTest.php @@ -300,7 +300,7 @@ public function testArbitraryBailResponseIsParsedToResponse() public function testClientCanSpecifyInputsToValidateWhenUsingControllerValidate() { - Route::post('test-route', [PrecognitionTestController::class, 'methodWherePredicitionValidatesViaControllerValidate']) + Route::post('test-route', [PrecognitionTestController::class, 'methodWherePredictionValidatesViaControllerValidate']) ->middleware(PrecognitionInvokingController::class); $response = $this->postJson('test-route', [ @@ -327,7 +327,7 @@ public function testClientCanSpecifyInputsToValidateWhenUsingControllerValidate( public function testClientCanSpecifyInputsToValidateWhenUsingControllerValidateWithBag() { - Route::post('test-route', [PrecognitionTestController::class, 'methodWherePredicitionValidatesViaControllerValidateWithBag']) + Route::post('test-route', [PrecognitionTestController::class, 'methodWherePredictionValidatesViaControllerValidateWithBag']) ->middleware(PrecognitionInvokingController::class); $response = $this->postJson('test-route', [ @@ -431,7 +431,7 @@ public function testClientCanSpecifyInputsToValidateWhenUsingRequestValidateWith public function testClientCanSpecifyInputsToValidateWhenUsingControllerValidateWithPassingArrayOfRules() { - Route::post('test-route', [PrecognitionTestController::class, 'methodWherePredicitionValidatesViaControllerValidateWith']) + Route::post('test-route', [PrecognitionTestController::class, 'methodWherePredictionValidatesViaControllerValidateWith']) ->middleware(PrecognitionInvokingController::class); $response = $this->postJson('test-route', [ @@ -1131,7 +1131,7 @@ public function methodWhereNestedRulesAreValidatedViaControllerValidateWith(Requ fail(); } - public function methodWherePredicitionValidatesViaControllerValidate(Request $request) + public function methodWherePredictionValidatesViaControllerValidate(Request $request) { precognitive(function () use ($request) { $this->validate($request, [ @@ -1147,7 +1147,7 @@ public function methodWherePredicitionValidatesViaControllerValidate(Request $re fail(); } - public function methodWherePredicitionValidatesViaControllerValidateWithBag(Request $request) + public function methodWherePredictionValidatesViaControllerValidateWithBag(Request $request) { precognitive(function () use ($request) { $this->validateWithBag('custom-bag', $request, [ @@ -1163,7 +1163,7 @@ public function methodWherePredicitionValidatesViaControllerValidateWithBag(Requ fail(); } - public function methodWherePredicitionValidatesViaControllerValidateWith(Request $request) + public function methodWherePredictionValidatesViaControllerValidateWith(Request $request) { precognitive(function () use ($request) { $this->validateWith([ diff --git a/tests/Pagination/CursorPaginatorTest.php b/tests/Pagination/CursorPaginatorTest.php index 6e74b80114dd..ce32537c1670 100644 --- a/tests/Pagination/CursorPaginatorTest.php +++ b/tests/Pagination/CursorPaginatorTest.php @@ -79,7 +79,7 @@ public function testCanTransformPaginatorItems() $this->assertSame([['id' => 6], ['id' => 7]], $p->items()); } - public function testLengthAwarePaginatorisOnFirstAndLastPage() + public function testCursorPaginatorOnFirstAndLastPage() { $paginator = new CursorPaginator([['id' => 1], ['id' => 2], ['id' => 3], ['id' => 4]], 2, null, [ 'parameters' => ['id'], diff --git a/tests/Pagination/LengthAwarePaginatorTest.php b/tests/Pagination/LengthAwarePaginatorTest.php index d5711d6ba802..21171456ba9b 100644 --- a/tests/Pagination/LengthAwarePaginatorTest.php +++ b/tests/Pagination/LengthAwarePaginatorTest.php @@ -56,7 +56,7 @@ public function testLengthAwarePaginatorSetCorrectInformationWithNoItems() $this->assertEmpty($paginator->items()); } - public function testLengthAwarePaginatorisOnFirstAndLastPage() + public function testLengthAwarePaginatorOnFirstAndLastPage() { $paginator = new LengthAwarePaginator(['1', '2', '3', '4'], 4, 2, 2); diff --git a/tests/Process/ProcessTest.php b/tests/Process/ProcessTest.php index 4c914b2e9698..6e5790cfa590 100644 --- a/tests/Process/ProcessTest.php +++ b/tests/Process/ProcessTest.php @@ -716,7 +716,7 @@ public function testBasicFakeAssertions() }); } - public function testAsssertingThatNothingRan() + public function testAssertingThatNothingRan() { $factory = new Factory;