[ 'handle' => "user_$i", 'email' => "user_$i@example.com", ]); $ids = [$a->getAccounting()->getId(), $b->getAccounting()->getId()]; $data = $this->request('GET', '/v4/accountings', [ 'query' => ['id' => $ids], ], Response::HTTP_OK)->toArray(); $this->assertEqualsCanonicalizing($ids, \array_column($data['member'], 'id')); } }