Tests/Command/CreateOrganizationCommandTest.php 1 location
|
@@ 30-36 (lines=7) @@
|
| 27 |
|
private $command; |
| 28 |
|
private $dialog; |
| 29 |
|
|
| 30 |
|
public function setUp() |
| 31 |
|
{ |
| 32 |
|
$application = new Application(); |
| 33 |
|
$application->add(new CreateOrganizationCommand()); |
| 34 |
|
$this->command = $application->get('swp:organization:create'); |
| 35 |
|
$this->dialog = $this->command->getHelper('dialog'); |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
/** |
| 39 |
|
* @covers SWP\Bundle\MultiTenancyBundle\Command\CreateOrganizationCommand |
Tests/Command/CreateTenantCommandTest.php 1 location
|
@@ 35-41 (lines=7) @@
|
| 32 |
|
private $command; |
| 33 |
|
private $dialog; |
| 34 |
|
|
| 35 |
|
public function setUp() |
| 36 |
|
{ |
| 37 |
|
$application = new Application(); |
| 38 |
|
$application->add(new CreateTenantCommand()); |
| 39 |
|
$this->command = $application->get('swp:tenant:create'); |
| 40 |
|
$this->dialog = $this->command->getHelper('dialog'); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
/** |
| 44 |
|
* @covers SWP\Bundle\MultiTenancyBundle\Command\CreateTenantCommand |