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 DumpCommandTest extends TestCase
|
||||
{
|
||||
public function testConfigDumpTermination()
|
||||
{
|
||||
$application = new MageApplicationMockup();
|
||||
$application->configure(__DIR__ . '/../../../Resources/basic.yml');
|
||||
$application = new MageApplicationMockup(__DIR__ . '/../../../Resources/basic.yml');
|
||||
$application->configure();
|
||||
|
||||
/** @var AbstractCommand $command */
|
||||
$command = $application->find('config:dump');
|
||||
|
||||
@@ -20,8 +20,8 @@ class EnvironmentsCommandTest extends TestCase
|
||||
{
|
||||
public function testConfigDumpTermination()
|
||||
{
|
||||
$application = new MageApplicationMockup();
|
||||
$application->configure(__DIR__ . '/../../../Resources/basic.yml');
|
||||
$application = new MageApplicationMockup(__DIR__ . '/../../../Resources/basic.yml');
|
||||
$application->configure();
|
||||
|
||||
/** @var AbstractCommand $command */
|
||||
$command = $application->find('config:environments');
|
||||
|
||||
Reference in New Issue
Block a user