Apply fixes from StyleCI (#581)
This commit is contained in:
parent
b8d7d99096
commit
340193c013
15 changed files with 165 additions and 166 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue