From d48ee4f4e73473a70c2d5a2a4028805de2c9736f Mon Sep 17 00:00:00 2001 From: oanhnn Date: Tue, 9 Jun 2015 13:45:16 +0700 Subject: [PATCH] Remove test class for laravel recipe --- test/recipe/LaravelTest.php | 40 ------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 test/recipe/LaravelTest.php diff --git a/test/recipe/LaravelTest.php b/test/recipe/LaravelTest.php deleted file mode 100644 index 5a82fddd..00000000 --- a/test/recipe/LaravelTest.php +++ /dev/null @@ -1,40 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Deployer\Helper\RecipeTester; - -class LaravelTest extends RecipeTester -{ - protected function loadRecipe() - { - require __DIR__ . '/../../recipe/laravel.php'; - } - - public function testDeploy() - { - set('repository', 'git@github.com:laravel/laravel.git'); - set('writable_use_sudo', false); // Using sudo in writable commands? - - $this->exec('deploy'); - - $this->assertEquals( - realpath($this->getEnv('release_path') . '/storage'), - $this->getEnv('deploy_path') . '/shared/storage' - ); - $this->assertTrue(is_dir($this->getEnv('deploy_path') . '/shared/storage')); - $this->assertTrue(is_writable($this->getEnv('deploy_path') . '/shared/storage')); - - $this->assertTrue(is_writable($this->getEnv('release_path') . '/vendor')); - - $this->assertEquals( - realpath($this->getEnv('release_path') . '/.env'), - $this->getEnv('deploy_path') . '/shared/.env' - ); - $this->assertFileExists($this->getEnv('deploy_path') . '/shared/.env'); - $this->assertTrue(is_link($this->getEnv('release_path') . '/.env')); - } -} \ No newline at end of file