mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:54:03 +00:00
merge
This commit is contained in:
commit
5e34c2c6a4
2 changed files with 6 additions and 2 deletions
|
|
@ -107,8 +107,13 @@ class CommandsTest extends TestCase
|
||||||
$uuid = tenant()->create('run.localhost')['uuid'];
|
$uuid = tenant()->create('run.localhost')['uuid'];
|
||||||
|
|
||||||
Artisan::call('tenants:migrate', ['--tenants' => $uuid]);
|
Artisan::call('tenants:migrate', ['--tenants' => $uuid]);
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
$this->artisan("tenants:run foo --tenants=$uuid --argument='a=foo' --option='b=bar' --option='c=xyz'")
|
$this->artisan("tenants:run foo --tenants=$uuid --argument='a=foo' --option='b=bar' --option='c=xyz'")
|
||||||
|
=======
|
||||||
|
|
||||||
|
$this->artisan("tenants:run foo --tenants=$uuid a b")
|
||||||
|
>>>>>>> 1322d02c786f86c50878b63af3a37ec6079238d3
|
||||||
->expectsOutput("User's name is Test command")
|
->expectsOutput("User's name is Test command")
|
||||||
->expectsOutput('foo')
|
->expectsOutput('foo')
|
||||||
->expectsOutput('xyz');
|
->expectsOutput('xyz');
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Tests\Etc;
|
namespace Stancl\Tenancy\Tests\Etc;
|
||||||
|
|
||||||
use Stancl\Tenancy\Tests\Etc\ExampleCommand;
|
|
||||||
use Orchestra\Testbench\Console\Kernel;
|
use Orchestra\Testbench\Console\Kernel;
|
||||||
|
|
||||||
class ConsoleKernel extends Kernel
|
class ConsoleKernel extends Kernel
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue