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