diff --git a/src/app/Console/Commands/AuthAttempt/ListCommand.php b/src/app/Console/Commands/AuthAttempt/ListCommand.php --- a/src/app/Console/Commands/AuthAttempt/ListCommand.php +++ b/src/app/Console/Commands/AuthAttempt/ListCommand.php @@ -12,7 +12,7 @@ * * @var string */ - protected $signature = 'authattempt:list'; + protected $signature = 'authattempts'; /** * The console command description. diff --git a/src/app/Console/Commands/DiscountsCommand.php b/src/app/Console/Commands/Discount/ListCommand.php rename from src/app/Console/Commands/DiscountsCommand.php rename to src/app/Console/Commands/Discount/ListCommand.php --- a/src/app/Console/Commands/DiscountsCommand.php +++ b/src/app/Console/Commands/Discount/ListCommand.php @@ -1,6 +1,6 @@ assertSame(0, $code); $this->assertSame('', $output); $user = $this->getTestUser('john@kolab.org'); - $authAttempt = AuthAttempt::recordAuthAttempt($user, "10.0.0.1"); + $authAttempt = AuthAttempt::recordAuthAttempt($user, '10.0.0.1'); //For up-to date timestamps and whatnot $authAttempt->refresh(); - $code = \Artisan::call("authattempt:list"); + $code = \Artisan::call('authattempts'); $output = trim(\Artisan::output()); $this->assertSame(0, $code); diff --git a/src/tests/Feature/Console/DataCountriesTest.php b/src/tests/Feature/Console/Data/Import/CountriesTest.php rename from src/tests/Feature/Console/DataCountriesTest.php rename to src/tests/Feature/Console/Data/Import/CountriesTest.php --- a/src/tests/Feature/Console/DataCountriesTest.php +++ b/src/tests/Feature/Console/Data/Import/CountriesTest.php @@ -1,10 +1,10 @@