mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Rename TestCase to DepCase
This commit is contained in:
parent
1669ee3552
commit
bf7028c8c0
@ -7,7 +7,7 @@
|
||||
|
||||
namespace Deployer;
|
||||
|
||||
class DeployTest extends TestCase
|
||||
class DeployTest extends DepCase
|
||||
{
|
||||
protected function load()
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user