mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-15 04:43:44 +02:00
Reformat for csfixer
This commit is contained in:
@@ -7,8 +7,8 @@ use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\User;
|
||||
use Pterodactyl\Models\Subuser;
|
||||
use Illuminate\Pagination\LengthAwarePaginator;
|
||||
use Pterodactyl\Tests\Integration\IntegrationTestCase;
|
||||
use Pterodactyl\Http\Controllers\Admin\UserController;
|
||||
use Pterodactyl\Tests\Integration\IntegrationTestCase;
|
||||
|
||||
class UserControllerTest extends IntegrationTestCase
|
||||
{
|
||||
@@ -51,9 +51,9 @@ class UserControllerTest extends IntegrationTestCase
|
||||
$response = $data['users']->items();
|
||||
$this->assertCount(2, $response);
|
||||
$this->assertInstanceOf(User::class, $response[0]);
|
||||
$this->assertSame(3, (int)$response[0]->servers_count);
|
||||
$this->assertSame(0, (int)$response[0]->subuser_of_count);
|
||||
$this->assertSame(1, (int)$response[1]->servers_count);
|
||||
$this->assertSame(2, (int)$response[1]->subuser_of_count);
|
||||
$this->assertSame(3, (int) $response[0]->servers_count);
|
||||
$this->assertSame(0, (int) $response[0]->subuser_of_count);
|
||||
$this->assertSame(1, (int) $response[1]->servers_count);
|
||||
$this->assertSame(2, (int) $response[1]->subuser_of_count);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user