From f4b1dc6df04f4ef9b4b15e2c38668e8cb168c253 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 6 Dec 2019 16:46:02 +0100 Subject: [PATCH] [6.x] Implement integration test and in-memory DB (#5169) * Use in-memory DB for testing * Extend from PHPUnit test case for unit tests --- phpunit.xml | 2 ++ tests/Unit/ExampleTest.php | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index c1a4100a36f..7b127c31df3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -28,6 +28,8 @@ + + diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php index 266ef352efa..358cfc8834a 100644 --- a/tests/Unit/ExampleTest.php +++ b/tests/Unit/ExampleTest.php @@ -2,8 +2,7 @@ namespace Tests\Unit; -use Illuminate\Foundation\Testing\RefreshDatabase; -use Tests\TestCase; +use PHPUnit\Framework\TestCase; class ExampleTest extends TestCase {