Add test cases for sending a command to a server

This commit is contained in:
Dane Everitt 2020-06-27 12:04:41 -07:00
parent 4cb95d8063
commit 8cfdb3acce
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 160 additions and 46 deletions

View file

@ -5,9 +5,8 @@ namespace Pterodactyl\Tests\Integration\Api\Client;
use Pterodactyl\Models\User;
use Illuminate\Http\Response;
use Pterodactyl\Models\ApiKey;
use Pterodactyl\Tests\Integration\IntegrationTestCase;
class ApiKeyControllerTest extends IntegrationTestCase
class ApiKeyControllerTest extends ClientApiIntegrationTestCase
{
/**
* Cleanup after tests.
@ -15,7 +14,6 @@ class ApiKeyControllerTest extends IntegrationTestCase
protected function tearDown(): void
{
ApiKey::query()->forceDelete();
User::query()->forceDelete();
parent::tearDown();
}