Rename TestCase to DepCase

This commit is contained in:
Anton Medvedev 2017-03-16 20:54:09 +07:00
parent 1669ee3552
commit bf7028c8c0
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
namespace Deployer;
class DeployTest extends TestCase
class DeployTest extends DepCase
{
protected function load()
{

View File

@ -16,8 +16,8 @@ use Symfony\Component\Process\Process;
function exec($command)
{
if (!empty(TestCase::$deployPath)) {
$command = 'cd ' . TestCase::$deployPath . ' && ' . $command;
if (!empty(DepCase::$deployPath)) {
$command = 'cd ' . DepCase::$deployPath . ' && ' . $command;
}
$process = new Process($command);
@ -27,7 +27,7 @@ function exec($command)
return trim($process->getOutput());
}
abstract class TestCase extends BaseTestCase
abstract class DepCase extends BaseTestCase
{
/**
* @var ApplicationTester