File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
/**
20
20
* @internal
21
21
*/
22
- final class TasksTest extends BaseCommand
22
+ final class TasksExample extends BaseCommand
23
23
{
24
24
protected $ group = 'Testing ' ;
25
- protected $ name = 'tasks:test ' ;
26
- protected $ description = 'Tests Tasks ' ;
27
- protected $ usage = 'tasks:test ' ;
25
+ protected $ name = 'tasks:example ' ;
26
+ protected $ description = 'Tests Example ' ;
27
+ protected $ usage = 'tasks:example ' ;
28
28
29
29
public function run (array $ params = [])
30
30
{
Original file line number Diff line number Diff line change @@ -90,13 +90,13 @@ public function testGetType()
90
90
91
91
public function testCommandRunsCommand ()
92
92
{
93
- $ task = new Task ('command ' , 'tasks:test ' );
93
+ $ task = new Task ('command ' , 'tasks:example ' );
94
94
95
95
$ task ->run ();
96
96
97
97
$ this ->assertStringContainsString (
98
98
'Commands can output text. ' ,
99
- $ this ->getBuffer ()
99
+ $ this ->getBuffer (),
100
100
);
101
101
}
102
102
You can’t perform that action at this time.
0 commit comments