diff --git a/tests/Feature/Api/Webhook/CheckinWebhookTest.php b/tests/Feature/Api/Webhook/CheckinWebhookTest.php index eccc5fc3..45394ea4 100644 --- a/tests/Feature/Api/Webhook/CheckinWebhookTest.php +++ b/tests/Feature/Api/Webhook/CheckinWebhookTest.php @@ -5,13 +5,13 @@ use App\CheckinWebhook; use App\Ejaculation; use App\User; -use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Support\Carbon; use Tests\TestCase; class CheckinWebhookTest extends TestCase { - use RefreshDatabase; + use DatabaseTransactions; protected function setUp(): void { diff --git a/tests/Feature/Setting/WebhookTest.php b/tests/Feature/Setting/WebhookTest.php index 6db254ba..d7eb776d 100644 --- a/tests/Feature/Setting/WebhookTest.php +++ b/tests/Feature/Setting/WebhookTest.php @@ -4,12 +4,12 @@ use App\CheckinWebhook; use App\User; -use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Foundation\Testing\DatabaseTransactions; use Tests\TestCase; class WebhookTest extends TestCase { - use RefreshDatabase; + use DatabaseTransactions; protected function setUp(): void { diff --git a/tests/Feature/SettingTest.php b/tests/Feature/SettingTest.php index 85c1c9f1..21f90b07 100644 --- a/tests/Feature/SettingTest.php +++ b/tests/Feature/SettingTest.php @@ -6,14 +6,14 @@ use App\Like; use App\User; use Illuminate\Contracts\Auth\Authenticatable; -use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Foundation\Testing\WithFaker; use Symfony\Component\DomCrawler\Crawler; use Tests\TestCase; class SettingTest extends TestCase { - use RefreshDatabase; + use DatabaseTransactions; protected function setUp(): void { diff --git a/tests/Unit/Http/Middleware/NormalizeLineEndingTest.php b/tests/Unit/Http/Middleware/NormalizeLineEndingTest.php index 7d16f0b9..c4a96428 100644 --- a/tests/Unit/Http/Middleware/NormalizeLineEndingTest.php +++ b/tests/Unit/Http/Middleware/NormalizeLineEndingTest.php @@ -3,7 +3,6 @@ namespace Tests\Unit\Http\Middleware; use App\Http\Middleware\NormalizeLineEnding; -use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Http\Request; use Tests\TestCase; diff --git a/tests/Unit/Services/CheckinCsvImporterTest.php b/tests/Unit/Services/CheckinCsvImporterTest.php index e677a9f6..592c5ac5 100644 --- a/tests/Unit/Services/CheckinCsvImporterTest.php +++ b/tests/Unit/Services/CheckinCsvImporterTest.php @@ -7,13 +7,13 @@ use App\Exceptions\CsvImportException; use App\Services\CheckinCsvImporter; use App\User; -use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Support\Carbon; use Tests\TestCase; class CheckinCsvImporterTest extends TestCase { - use RefreshDatabase; + use DatabaseTransactions; protected function setUp(): void { diff --git a/tests/Unit/Services/MetadataResolverServiceTest.php b/tests/Unit/Services/MetadataResolverServiceTest.php index 000d33dd..eda6e314 100644 --- a/tests/Unit/Services/MetadataResolverServiceTest.php +++ b/tests/Unit/Services/MetadataResolverServiceTest.php @@ -14,13 +14,13 @@ use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\HandlerStack; use GuzzleHttp\Psr7\Response; -use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Foundation\Testing\DatabaseTransactions; use Mockery\MockInterface; use Tests\TestCase; class MetadataResolverServiceTest extends TestCase { - use RefreshDatabase; + use DatabaseTransactions; protected function setUp(): void {