File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ Provides Laravel-specific testing helpers and asserts.
116116- [ServiceProviderAsserts](#serviceproviderasserts)
117117 - [seeRegisteredAlias](#seeregisteredalias)
118118 - [dontSeeRegisteredAlias](#dontseeregisteredalias)
119- - [assertCommandRegistered ](#assertcommandregistered )
119+ - [seeRegisteredCommand ](#seeregisteredcommand )
120120 - [assertCommandNotRegistered](#assertcommandnotregistered)
121121
122122## Helpers
@@ -549,12 +549,12 @@ Checks that specified alias was not registered by alias loader:
549549$this->dontSeeRegisteredAlias(' Acme\A lias\F ake' );
550550```
551551
552- #### `assertCommandRegistered ()`
552+ #### `seeRegisteredCommand ()`
553553
554554Checks that specified command was successfully registered by service provider:
555555
556556```php
557- $this->assertCommandRegistered (' do-something' );
557+ $this->seeRegisteredCommand (' do-something' );
558558```
559559
560560#### `assertCommandNotRegistered()`
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ protected function dontSeeRegisteredAlias($alias)
1919 $ this ->assertEmpty (AliasLoader::getInstance ()->load ($ alias ), $ message );
2020 }
2121
22- protected function assertCommandRegistered ($ name )
22+ protected function seeRegisteredCommand ($ name )
2323 {
2424 $ message = "Failed asserting that command ` {$ name }` is registered. " ;
2525 $ this ->assertArrayHasKey ($ name , Artisan::all (), $ message );
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ public function it_has_dont_see_registered_alias_assertion()
2020 }
2121
2222 /** @test */
23- public function it_has_command_registered_assertion ()
23+ public function it_has_see_registered_command_assertion ()
2424 {
25- $ this ->assertCommandRegistered ('generic ' );
25+ $ this ->seeRegisteredCommand ('generic ' );
2626 }
2727
2828 /** @test */
You can’t perform that action at this time.
0 commit comments