mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-09-13 04:30:17 +02:00
[Nostromo] PSR2
This commit is contained in:
parent
f4f8bfbf05
commit
781b5e7620
@ -32,7 +32,7 @@ class DeployCommandWithoutReleasesTest extends TestCase
|
|||||||
|
|
||||||
$ranCommands = $application->getRuntime()->getRanCommands();
|
$ranCommands = $application->getRuntime()->getRanCommands();
|
||||||
|
|
||||||
$testCase = array (
|
$testCase = array(
|
||||||
0 => 'git branch | grep "*"',
|
0 => 'git branch | grep "*"',
|
||||||
1 => 'git checkout test',
|
1 => 'git checkout test',
|
||||||
2 => 'git pull',
|
2 => 'git pull',
|
||||||
@ -55,5 +55,4 @@ class DeployCommandWithoutReleasesTest extends TestCase
|
|||||||
|
|
||||||
$this->assertEquals(0, $tester->getStatusCode());
|
$this->assertEquals(0, $tester->getStatusCode());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
@ -54,7 +54,7 @@ class MageApplicationTest extends TestCase
|
|||||||
$application->configure(__DIR__ . '/Resources/basic.yml');
|
$application->configure(__DIR__ . '/Resources/basic.yml');
|
||||||
$this->assertTrue($application instanceof MageApplication);
|
$this->assertTrue($application instanceof MageApplication);
|
||||||
|
|
||||||
$application->register('foo')->setCode(function() {
|
$application->register('foo')->setCode(function () {
|
||||||
throw new \RuntimeException('foo');
|
throw new \RuntimeException('foo');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user