Skip to content

Commit

Permalink
Add profile_picture_url
Browse files Browse the repository at this point in the history
  • Loading branch information
hadihallak committed Feb 6, 2024
1 parent dfdd673 commit d315754
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Resource/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class User extends BaseWorkOSResource
"firstName",
"lastName",
"emailVerified",
"profilePictureUrl",
"createdAt",
"updatedAt"
];
Expand All @@ -27,6 +28,7 @@ class User extends BaseWorkOSResource
"first_name" => "firstName",
"last_name" => "lastName",
"email_verified" => "emailVerified",
"profile_picture_url" => "profilePictureUrl",
"created_at" => "createdAt",
"updated_at" => "updatedAt"
];
Expand Down
3 changes: 3 additions & 0 deletions tests/WorkOS/UserManagementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,7 @@ private function getUserResponseFixture()
"email" => "test@test.com",
"first_name" => "Damien",
"last_name" => "Alabaster",
"profile_picture_url" => "https://example.com/photo.jpg",
"email_verified" => true,
"created_at" => "2021-06-25T19:07:33.155Z",
"updated_at" => "2021-06-25T19:07:33.155Z"
Expand All @@ -1070,6 +1071,7 @@ private function listUsersResponseFixture()
"email" => "test@test.com",
"first_name" => "Damien",
"last_name" => "Alabaster",
"profile_picture_url" => "https://example.com/photo.jpg",
"email_verified" => true,
"created_at" => "2021-06-25T19:07:33.155Z",
"updated_at" => "2021-06-25T19:07:33.155Z"
Expand Down Expand Up @@ -1099,6 +1101,7 @@ private function userFixture()
"firstName" => "Damien",
"lastName" => "Alabaster",
"emailVerified" => true,
"profile_picture_url" => "https://example.com/photo.jpg",
"createdAt" => "2021-06-25T19:07:33.155Z",
"updatedAt" => "2021-06-25T19:07:33.155Z"
];
Expand Down

0 comments on commit d315754

Please sign in to comment.