mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 08:45:04 +01:00
Refactor EnvTest.php
This commit is contained in:
parent
9fe23fbf8a
commit
70733a42b7
@ -7,16 +7,13 @@
|
|||||||
|
|
||||||
namespace Deployer;
|
namespace Deployer;
|
||||||
|
|
||||||
use Symfony\Component\Console\Output\Output;
|
|
||||||
|
|
||||||
class EnvTest extends AbstractTest
|
class EnvTest extends AbstractTest
|
||||||
{
|
{
|
||||||
const RECIPE = __DIR__ . '/recipe/env.php';
|
const RECIPE = __DIR__ . '/recipe/env.php';
|
||||||
|
|
||||||
public function testOnce()
|
public function testOnce()
|
||||||
{
|
{
|
||||||
$this->init(self::RECIPE);
|
$this->dep(self::RECIPE, 'test');
|
||||||
$this->tester->run(['test', '-f' => self::RECIPE], ['verbosity' => Output::VERBOSITY_DEBUG]);
|
|
||||||
|
|
||||||
$display = $this->tester->getDisplay();
|
$display = $this->tester->getDisplay();
|
||||||
self::assertEquals(0, $this->tester->getStatusCode(), $display);
|
self::assertEquals(0, $this->tester->getStatusCode(), $display);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user