Remove unused imports (#1102)
This commit is contained in:
parent
ceff5acb85
commit
88fd83d413
11 changed files with 3 additions and 13 deletions
|
@ -10,7 +10,6 @@
|
|||
namespace Pterodactyl\Services\Servers;
|
||||
|
||||
use Illuminate\Log\Writer;
|
||||
use Pterodactyl\Models\Server;
|
||||
use GuzzleHttp\Exception\RequestException;
|
||||
use Illuminate\Database\ConnectionInterface;
|
||||
use Pterodactyl\Services\Databases\DatabaseManagementService;
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
namespace Pterodactyl\Services\Subusers;
|
||||
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Rules\Username;
|
||||
use Illuminate\Database\ConnectionInterface;
|
||||
use Pterodactyl\Services\Users\UserCreationService;
|
||||
use Pterodactyl\Contracts\Repository\UserRepositoryInterface;
|
||||
|
|
|
@ -10,14 +10,14 @@ $app = require __DIR__ . '/app.php';
|
|||
/** @var \Pterodactyl\Console\Kernel $kernel */
|
||||
$kernel = $app->make(Kernel::class);
|
||||
|
||||
/**
|
||||
/*
|
||||
* Bootstrap the kernel and prepare application for testing.
|
||||
*/
|
||||
$kernel->bootstrap();
|
||||
|
||||
$output = new ConsoleOutput;
|
||||
|
||||
/**
|
||||
/*
|
||||
* Perform database migrations and reseeding before continuing with
|
||||
* running the tests.
|
||||
*/
|
||||
|
|
|
@ -29,5 +29,4 @@ class AddDescriptionToNodes extends Migration
|
|||
$table->dropColumn('description');
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Tests\Unit\Http\Middleware;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\User;
|
||||
use Pterodactyl\Http\Middleware\AdminAuthenticate;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Tests\Unit\Services\Allocations;
|
||||
|
||||
use Exception;
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use Pterodactyl\Models\Node;
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
namespace Tests\Unit\Services\Services\Options;
|
||||
|
||||
use Exception;
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use Pterodactyl\Models\Egg;
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
namespace Tests\Unit\Services\Services;
|
||||
|
||||
use Exception;
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use Pterodactyl\Exceptions\PterodactylException;
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
namespace Tests\Unit\Services\Nodes;
|
||||
|
||||
use Exception;
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use phpmock\phpunit\PHPMock;
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
namespace Tests\Unit\Services\Packs;
|
||||
|
||||
use Exception;
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use Pterodactyl\Models\Pack;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Tests\Unit\Services\Servers;
|
||||
|
||||
use Exception;
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
|
Loading…
Reference in a new issue