Skip to content

A free open source IT asset/license management system

Remove the putenv

snipeaa4bb121ae92
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');
}