Skip to content

Commit

Permalink
[People] Update PersonTests
Browse files Browse the repository at this point in the history
  • Loading branch information
onairmarc committed Nov 28, 2024
1 parent d6d7a74 commit a17cfbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Unit/People/PersonTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@

test('People: Can Get Person By ID', function () {
$person = Person::make(TestConstants::CLIENT_ID, TestConstants::CLIENT_SECRET);
$person->attributes->personId = "1";

$response = $person->get();
$response = $person->forPersonId("1")->get();
/** @var Person $personProfile */
$personProfile = $response->data->first();

Expand Down

0 comments on commit a17cfbe

Please sign in to comment.