From 2963b77b41614a781b5d6e56db0d0b38428d1f02 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Tue, 13 Jul 2021 15:16:53 -0600 Subject: [PATCH] revert 'test fixes' --- .../Api/Application/ApplicationApiIntegrationTestCase.php | 2 ++ tests/Integration/IntegrationTestCase.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php b/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php index b72f01eed..daca17283 100644 --- a/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php +++ b/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php @@ -7,6 +7,7 @@ use PHPUnit\Framework\Assert; use Pterodactyl\Models\ApiKey; use Pterodactyl\Services\Acl\Api\AdminAcl; use Pterodactyl\Tests\Integration\IntegrationTestCase; +use Illuminate\Foundation\Testing\DatabaseTransactions; use Pterodactyl\Tests\Traits\Integration\CreatesTestModels; use Pterodactyl\Transformers\Api\Application\BaseTransformer; use Pterodactyl\Transformers\Api\Client\BaseClientTransformer; @@ -15,6 +16,7 @@ use Pterodactyl\Tests\Traits\Http\IntegrationJsonRequestAssertions; abstract class ApplicationApiIntegrationTestCase extends IntegrationTestCase { use CreatesTestModels; + use DatabaseTransactions; use IntegrationJsonRequestAssertions; /** diff --git a/tests/Integration/IntegrationTestCase.php b/tests/Integration/IntegrationTestCase.php index f1c6c1c80..f12eaaef1 100644 --- a/tests/Integration/IntegrationTestCase.php +++ b/tests/Integration/IntegrationTestCase.php @@ -5,14 +5,12 @@ namespace Pterodactyl\Tests\Integration; use Carbon\CarbonImmutable; use Pterodactyl\Tests\TestCase; use Illuminate\Database\Eloquent\Model; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Pterodactyl\Tests\Traits\Integration\CreatesTestModels; use Pterodactyl\Transformers\Api\Application\BaseTransformer; abstract class IntegrationTestCase extends TestCase { use CreatesTestModels; - use DatabaseTransactions; /** * Setup base integration test cases.