mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-29 10:38:57 +02:00
[Nostromo] Refactor config
This commit is contained in:
@@ -20,8 +20,8 @@ class DeployCommandMiscTasksTest extends TestCase
|
||||
{
|
||||
public function testSymfonyEnvironmentConfiguration()
|
||||
{
|
||||
$application = new MageApplicationMockup();
|
||||
$application->configure(__DIR__ . '/../../Resources/symfony-envconf.yml');
|
||||
$application = new MageApplicationMockup(__DIR__ . '/../../Resources/symfony-envconf.yml');
|
||||
$application->configure();
|
||||
|
||||
/** @var AbstractCommand $command */
|
||||
$command = $application->find('deploy');
|
||||
@@ -53,8 +53,8 @@ class DeployCommandMiscTasksTest extends TestCase
|
||||
|
||||
public function testComposerFlags()
|
||||
{
|
||||
$application = new MageApplicationMockup();
|
||||
$application->configure(__DIR__ . '/../../Resources/composer.yml');
|
||||
$application = new MageApplicationMockup(__DIR__ . '/../../Resources/composer.yml');
|
||||
$application->configure();
|
||||
|
||||
/** @var AbstractCommand $command */
|
||||
$command = $application->find('deploy');
|
||||
@@ -84,8 +84,8 @@ class DeployCommandMiscTasksTest extends TestCase
|
||||
|
||||
public function testInvalidTaskName()
|
||||
{
|
||||
$application = new MageApplicationMockup();
|
||||
$application->configure(__DIR__ . '/../../Resources/invalid-task.yml');
|
||||
$application = new MageApplicationMockup(__DIR__ . '/../../Resources/invalid-task.yml');
|
||||
$application->configure();
|
||||
|
||||
/** @var AbstractCommand $command */
|
||||
$command = $application->find('deploy');
|
||||
@@ -100,8 +100,8 @@ class DeployCommandMiscTasksTest extends TestCase
|
||||
|
||||
public function testBrokenGitBranch()
|
||||
{
|
||||
$application = new MageApplicationMockup();
|
||||
$application->configure(__DIR__ . '/../../Resources/broken-git-branch.yml');
|
||||
$application = new MageApplicationMockup(__DIR__ . '/../../Resources/broken-git-branch.yml');
|
||||
$application->configure();
|
||||
|
||||
/** @var AbstractCommand $command */
|
||||
$command = $application->find('deploy');
|
||||
@@ -119,8 +119,8 @@ class DeployCommandMiscTasksTest extends TestCase
|
||||
|
||||
public function testBrokenGitCheckout()
|
||||
{
|
||||
$application = new MageApplicationMockup();
|
||||
$application->configure(__DIR__ . '/../../Resources/broken-git-branch.yml');
|
||||
$application = new MageApplicationMockup(__DIR__ . '/../../Resources/broken-git-branch.yml');
|
||||
$application->configure();
|
||||
|
||||
/** @var AbstractCommand $command */
|
||||
$command = $application->find('deploy');
|
||||
@@ -138,8 +138,8 @@ class DeployCommandMiscTasksTest extends TestCase
|
||||
|
||||
public function testBrokenGitUpdate()
|
||||
{
|
||||
$application = new MageApplicationMockup();
|
||||
$application->configure(__DIR__ . '/../../Resources/broken-git-branch.yml');
|
||||
$application = new MageApplicationMockup(__DIR__ . '/../../Resources/broken-git-branch.yml');
|
||||
$application->configure();
|
||||
|
||||
/** @var AbstractCommand $command */
|
||||
$command = $application->find('deploy');
|
||||
|
||||
Reference in New Issue
Block a user