tests: fix remaining failures
This commit is contained in:
parent
f45eac623c
commit
b59e1da860
5 changed files with 15 additions and 61 deletions
|
@ -5,7 +5,6 @@ namespace Pterodactyl\Tests\Integration\Api\Application;
|
|||
use Pterodactyl\Models\User;
|
||||
use Pterodactyl\Models\ApiKey;
|
||||
use Pterodactyl\Services\Acl\Api\AdminAcl;
|
||||
use Pterodactyl\Transformers\Api\Transformer;
|
||||
use Pterodactyl\Tests\Integration\IntegrationTestCase;
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
use Pterodactyl\Tests\Traits\Integration\CreatesTestModels;
|
||||
|
@ -88,14 +87,4 @@ abstract class ApplicationApiIntegrationTestCase extends IntegrationTestCase
|
|||
'r_server_databases' => AdminAcl::READ | AdminAcl::WRITE,
|
||||
], $permissions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a transformer that can be used for testing purposes.
|
||||
*
|
||||
* @deprecated instantiate the transformer directly
|
||||
*/
|
||||
protected function getTransformer(string $abstract): Transformer
|
||||
{
|
||||
return new $abstract();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue