mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Massive PHPCS linting
This commit is contained in:
@@ -72,7 +72,10 @@ class KeyServiceTest extends TestCase
|
||||
$this->repository = m::mock(ApiKeyRepositoryInterface::class);
|
||||
|
||||
$this->service = new KeyService(
|
||||
$this->repository, $this->database, $this->encrypter, $this->permissions
|
||||
$this->repository,
|
||||
$this->database,
|
||||
$this->encrypter,
|
||||
$this->permissions
|
||||
);
|
||||
}
|
||||
|
||||
@@ -108,7 +111,9 @@ class KeyServiceTest extends TestCase
|
||||
$this->database->shouldReceive('commit')->withNoArgs()->once()->andReturnNull();
|
||||
|
||||
$response = $this->service->create(
|
||||
['test-data' => 'test'], ['invalid-node', 'server-list'], ['invalid-node', 'server-create']
|
||||
['test-data' => 'test'],
|
||||
['invalid-node', 'server-list'],
|
||||
['invalid-node', 'server-create']
|
||||
);
|
||||
|
||||
$this->assertNotEmpty($response);
|
||||
|
||||
Reference in New Issue
Block a user