mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Remove unnecessary function
This commit is contained in:
@@ -59,7 +59,7 @@ class NestControllerTest extends ApplicationApiIntegrationTestCase
|
||||
foreach ($nests as $nest) {
|
||||
$response->assertJsonFragment([
|
||||
'object' => 'nest',
|
||||
'attributes' => $this->getTransformer(NestTransformer::class)->transform($nest),
|
||||
'attributes' => (new NestTransformer())->transform($nest),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -80,7 +80,7 @@ class NestControllerTest extends ApplicationApiIntegrationTestCase
|
||||
|
||||
$response->assertJson([
|
||||
'object' => 'nest',
|
||||
'attributes' => $this->getTransformer(NestTransformer::class)->transform($nest),
|
||||
'attributes' => (new NestTransformer())->transform($nest),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user