mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Apply fixes from StyleCI (#581)
This commit is contained in:
@@ -87,7 +87,7 @@ class AssignmentServiceTest extends TestCase
|
||||
{
|
||||
$data = [
|
||||
'allocation_ip' => '192.168.1.1',
|
||||
'allocation_ports' => ['1024']
|
||||
'allocation_ports' => ['1024'],
|
||||
];
|
||||
|
||||
$this->connection->shouldReceive('beginTransaction')->withNoArgs()->once()->andReturnNull();
|
||||
@@ -112,7 +112,7 @@ class AssignmentServiceTest extends TestCase
|
||||
{
|
||||
$data = [
|
||||
'allocation_ip' => '192.168.1.1',
|
||||
'allocation_ports' => ['1024-1026']
|
||||
'allocation_ports' => ['1024-1026'],
|
||||
];
|
||||
|
||||
$this->connection->shouldReceive('beginTransaction')->withNoArgs()->once()->andReturnNull();
|
||||
@@ -142,7 +142,6 @@ class AssignmentServiceTest extends TestCase
|
||||
$this->connection->shouldReceive('commit')->withNoArgs()->once()->andReturnNull();
|
||||
|
||||
$this->service->handle($this->node->id, $data);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -307,7 +306,7 @@ class AssignmentServiceTest extends TestCase
|
||||
{
|
||||
$data = [
|
||||
'allocation_ip' => '192.168.1.1',
|
||||
'allocation_ports' => ['1024']
|
||||
'allocation_ports' => ['1024'],
|
||||
];
|
||||
|
||||
$this->connection->shouldReceive('beginTransaction')->withNoArgs()->once()->andReturnNull();
|
||||
|
||||
Reference in New Issue
Block a user