mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 19:24:02 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
cfaa6463ee
commit
1322d02c78
3 changed files with 3 additions and 4 deletions
|
|
@ -38,7 +38,7 @@ class Run extends Command
|
|||
|
||||
// Run command
|
||||
Artisan::call($this->argument('commandname'), [
|
||||
'args' => $this->argument('args') // todo find a better way to pass args
|
||||
'args' => $this->argument('args'), // todo find a better way to pass args
|
||||
]);
|
||||
tenancy()->end();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -105,9 +105,9 @@ class CommandsTest extends TestCase
|
|||
public function run_commands_works()
|
||||
{
|
||||
$uuid = tenant()->create('run.localhost')['uuid'];
|
||||
|
||||
|
||||
Artisan::call('tenants:migrate', ['--tenants' => $uuid]);
|
||||
|
||||
|
||||
$this->artisan("tenants:run foo --tenants=$uuid a b")
|
||||
->expectsOutput("User's name is Test command")
|
||||
->expectsOutput('a;b');
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Stancl\Tenancy\Tests\Etc;
|
||||
|
||||
use Stancl\Tenancy\Tests\Etc\ExampleCommand;
|
||||
use Orchestra\Testbench\Console\Kernel;
|
||||
|
||||
class ConsoleKernel extends Kernel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue