revert 'test fixes'

This commit is contained in:
Matthew Penner 2021-07-13 15:16:53 -06:00
parent 8d5dbbb57b
commit 2963b77b41
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,7 @@ use PHPUnit\Framework\Assert;
use Pterodactyl\Models\ApiKey; use Pterodactyl\Models\ApiKey;
use Pterodactyl\Services\Acl\Api\AdminAcl; use Pterodactyl\Services\Acl\Api\AdminAcl;
use Pterodactyl\Tests\Integration\IntegrationTestCase; use Pterodactyl\Tests\Integration\IntegrationTestCase;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Pterodactyl\Tests\Traits\Integration\CreatesTestModels; use Pterodactyl\Tests\Traits\Integration\CreatesTestModels;
use Pterodactyl\Transformers\Api\Application\BaseTransformer; use Pterodactyl\Transformers\Api\Application\BaseTransformer;
use Pterodactyl\Transformers\Api\Client\BaseClientTransformer; use Pterodactyl\Transformers\Api\Client\BaseClientTransformer;
@ -15,6 +16,7 @@ use Pterodactyl\Tests\Traits\Http\IntegrationJsonRequestAssertions;
abstract class ApplicationApiIntegrationTestCase extends IntegrationTestCase abstract class ApplicationApiIntegrationTestCase extends IntegrationTestCase
{ {
use CreatesTestModels; use CreatesTestModels;
use DatabaseTransactions;
use IntegrationJsonRequestAssertions; use IntegrationJsonRequestAssertions;
/** /**

View File

@ -5,14 +5,12 @@ namespace Pterodactyl\Tests\Integration;
use Carbon\CarbonImmutable; use Carbon\CarbonImmutable;
use Pterodactyl\Tests\TestCase; use Pterodactyl\Tests\TestCase;
use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Pterodactyl\Tests\Traits\Integration\CreatesTestModels; use Pterodactyl\Tests\Traits\Integration\CreatesTestModels;
use Pterodactyl\Transformers\Api\Application\BaseTransformer; use Pterodactyl\Transformers\Api\Application\BaseTransformer;
abstract class IntegrationTestCase extends TestCase abstract class IntegrationTestCase extends TestCase
{ {
use CreatesTestModels; use CreatesTestModels;
use DatabaseTransactions;
/** /**
* Setup base integration test cases. * Setup base integration test cases.