Apply fixes from StyleCI (#519)

This commit is contained in:
Dane Everitt 2017-06-25 15:37:45 -05:00 committed by GitHub
parent b7b046c044
commit d908672644
4 changed files with 9 additions and 9 deletions

View File

@ -24,9 +24,9 @@
namespace Pterodactyl\Services;
use Pterodactyl\Exceptions\Model\DataValidationException;
use Pterodactyl\Models\Location;
use Pterodactyl\Exceptions\DisplayException;
use Pterodactyl\Exceptions\Model\DataValidationException;
class LocationService
{

View File

@ -192,7 +192,7 @@ class LocationServiceTest extends TestCase
$this->service->update(0, []);
}
/**
/*
* Test that a location can be deleted normally when no nodes are attached.
*/
// public function testShouldDeleteExistingLocation()
@ -211,7 +211,7 @@ class LocationServiceTest extends TestCase
// ]);
// }
/**
/*
* Test that a location cannot be deleted if a node is attached to it.
*
* @expectedException \Pterodactyl\Exceptions\DisplayException

View File

@ -24,14 +24,14 @@
namespace Tests\Unit\Services;
use Illuminate\Contracts\Hashing\Hasher;
use Illuminate\Database\Connection;
use Mockery as m;
use Tests\TestCase;
use Pterodactyl\Models\User;
use Illuminate\Database\Connection;
use Pterodactyl\Services\UserService;
use Illuminate\Contracts\Hashing\Hasher;
use Pterodactyl\Notifications\AccountCreated;
use Pterodactyl\Services\Helpers\TemporaryPasswordService;
use Pterodactyl\Services\UserService;
use Tests\TestCase;
class UserServiceTest extends TestCase
{