mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-05-03 05:06:05 +02:00
revert 'test fixes'
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user