mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Remove unnecessary function
This commit is contained in:
@@ -118,7 +118,7 @@ class LocationControllerTest extends ApplicationApiIntegrationTestCase
|
||||
'data' => [
|
||||
[
|
||||
'object' => 'node',
|
||||
'attributes' => $this->getTransformer(NodeTransformer::class)->transform($server->getRelation('node')),
|
||||
'attributes' => (new NodeTransformer())->transform($server->getRelation('node')),
|
||||
],
|
||||
],
|
||||
],
|
||||
@@ -127,7 +127,7 @@ class LocationControllerTest extends ApplicationApiIntegrationTestCase
|
||||
'data' => [
|
||||
[
|
||||
'object' => 'server',
|
||||
'attributes' => $this->getTransformer(ServerTransformer::class)->transform($server),
|
||||
'attributes' => (new ServerTransformer())->transform($server),
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user