Skip to content

Commit e93cce8

Browse files
committed
Code smell
1 parent 4173b9b commit e93cce8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Integration/CustomOrderTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ public function it_can_order_with_custom_order()
3232
'recordsFiltered' => 60,
3333
]);
3434

35-
$this->assertEquals($response->json()['data'][0]['user']['id'], collect($response->json()['data'])->pluck('user.id')->max());
35+
$this->assertEquals(
36+
$response->json()['data'][0]['user']['id'],
37+
collect($response->json()['data'])->pluck('user.id')->max()
38+
);
3639
}
3740

3841
protected function getJsonResponse(array $params = [])

0 commit comments

Comments
 (0)