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