mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 19:24:02 +00:00
merge
This commit is contained in:
commit
5e34c2c6a4
2 changed files with 6 additions and 2 deletions
|
|
@ -105,10 +105,15 @@ class CommandsTest extends TestCase
|
|||
public function run_commands_works()
|
||||
{
|
||||
$uuid = tenant()->create('run.localhost')['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 a b")
|
||||
>>>>>>> 1322d02c786f86c50878b63af3a37ec6079238d3
|
||||
->expectsOutput("User's name is Test command")
|
||||
->expectsOutput('foo')
|
||||
->expectsOutput('xyz');
|
||||
|
|
|
|||
|
|
@ -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