File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 6
6
use Illuminate \Console \Command ;
7
7
use Jaspaul \LaravelRollout \FeaturePresenter ;
8
8
9
- class ListFeatures extends Command
9
+ class ListCommand extends Command
10
10
{
11
11
/**
12
12
* The name and signature of the console command.
13
13
*
14
14
* @var string
15
15
*/
16
- protected $ signature = 'rollout:list-features ' ;
16
+ protected $ signature = 'rollout:list ' ;
17
17
18
18
/**
19
19
* The console command description.
Original file line number Diff line number Diff line change 4
4
5
5
use Opensoft \Rollout \Rollout ;
6
6
use Jaspaul \LaravelRollout \Drivers \Cache ;
7
- use Jaspaul \LaravelRollout \Console \ListFeatures ;
7
+ use Jaspaul \LaravelRollout \Console \ListCommand ;
8
8
use Illuminate \Support \ServiceProvider as IlluminateServiceProvider ;
9
9
10
10
class ServiceProvider extends IlluminateServiceProvider
@@ -20,6 +20,6 @@ public function boot()
20
20
return new Rollout (new Cache ($ app ->make ('cache.store ' )));
21
21
});
22
22
23
- $ this ->commands ([ListFeatures ::class]);
23
+ $ this ->commands ([ListCommand ::class]);
24
24
}
25
25
}
Original file line number Diff line number Diff line change 7
7
use Illuminate \Cache \ArrayStore ;
8
8
use Illuminate \Cache \Repository ;
9
9
use Jaspaul \LaravelRollout \Drivers \Cache ;
10
- use Jaspaul \LaravelRollout \Console \ListFeatures ;
10
+ use Jaspaul \LaravelRollout \Console \ListCommand ;
11
11
12
- class ListFeaturesTest extends TestCase
12
+ class ListCommandTest extends TestCase
13
13
{
14
14
private $ command ;
15
15
private $ rollout ;
@@ -20,7 +20,7 @@ class ListFeaturesTest extends TestCase
20
20
function setup_command ()
21
21
{
22
22
$ this ->rollout = new Rollout (new Cache (new Repository (new ArrayStore ())));
23
- $ this ->command = new ListFeatures ($ this ->rollout );
23
+ $ this ->command = new ListCommand ($ this ->rollout );
24
24
}
25
25
26
26
/**
Original file line number Diff line number Diff line change 7
7
use Illuminate \Container \Container ;
8
8
use Illuminate \Contracts \Cache \Repository ;
9
9
use Jaspaul \LaravelRollout \ServiceProvider ;
10
- use Jaspaul \LaravelRollout \Console \ListFeatures ;
10
+ use Jaspaul \LaravelRollout \Console \ListCommand ;
11
11
use Illuminate \Support \ServiceProvider as IlluminateServiceProvider ;
12
12
13
13
class ServiceProviderTest extends TestCase
@@ -60,7 +60,7 @@ function booting_registers_our_commands()
60
60
$ serviceProvider = new TestServiceProvider ($ this ->container );
61
61
$ serviceProvider ->boot ();
62
62
63
- $ this ->assertEquals ([ListFeatures ::class], $ serviceProvider ->commands );
63
+ $ this ->assertEquals ([ListCommand ::class], $ serviceProvider ->commands );
64
64
}
65
65
}
66
66
You can’t perform that action at this time.
0 commit comments