1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:24:02 +00:00
This commit is contained in:
Samuel Štancl 2019-08-09 18:37:34 +02:00
commit 5e34c2c6a4
2 changed files with 6 additions and 2 deletions

View file

@ -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');

View file

@ -2,7 +2,6 @@
namespace Stancl\Tenancy\Tests\Etc;
use Stancl\Tenancy\Tests\Etc\ExampleCommand;
use Orchestra\Testbench\Console\Kernel;
class ConsoleKernel extends Kernel