Reorganize API files

This commit is contained in:
Dane Everitt 2018-01-19 19:58:57 -06:00
parent bdadec002c
commit 0e7f8cedf0
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
41 changed files with 156 additions and 111 deletions

View file

@ -9,9 +9,9 @@ use Illuminate\Auth\AuthManager;
use Illuminate\Contracts\Encryption\Encrypter;
use Tests\Unit\Http\Middleware\MiddlewareTestCase;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Pterodactyl\Http\Middleware\Api\Admin\AuthenticateKey;
use Pterodactyl\Exceptions\Repository\RecordNotFoundException;
use Pterodactyl\Contracts\Repository\ApiKeyRepositoryInterface;
use Pterodactyl\Http\Middleware\Api\Application\AuthenticateKey;
class AuthenticateKeyTest extends MiddlewareTestCase
{
@ -117,7 +117,7 @@ class AuthenticateKeyTest extends MiddlewareTestCase
/**
* Return an instance of the middleware with mocked dependencies for testing.
*
* @return \Pterodactyl\Http\Middleware\Api\Admin\AuthenticateKey
* @return \Pterodactyl\Http\Middleware\Api\Application\AuthenticateKey
*/
private function getMiddleware(): AuthenticateKey
{