From aa4bb121ae92b02105c7318396e40808db4f3412 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 12 Apr 2016 22:10:50 -0700 Subject: [PATCH] Remove the putenv --- tests/TestCase.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 9d756e3c25..9efcd30539 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -12,7 +12,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase function __construct() { parent::createApplication(); - parent::setUp(); + //parent::setUp(); } /** @@ -22,7 +22,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase */ public function createApplication() { - putenv('DB_DEFAULT=sqlite'); + //putenv('DB_DEFAULT=sqlite'); $app = require __DIR__.'/../bootstrap/app.php'; $app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap(); return $app; @@ -30,8 +30,8 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase public function setUp() { - Artisan::call('migrate'); - parent::setUp(); + //Artisan::call('migrate'); + //parent::setUp(); //Artisan::call('migrate'); }