Remove unnecessary function
This commit is contained in:
parent
bbf2f33c5e
commit
fdd90b3be7
37 changed files with 92 additions and 136 deletions
|
@ -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),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue