feat(generated)!: regenerate from spec (11 changes)#401
feat(generated)!: regenerate from spec (11 changes)#401workos-sdk-automation[bot] wants to merge 11 commits into
Conversation
…ganizationMembership.list`
| $this->assertSame('test_value', $body['role_slug']); | ||
| } | ||
|
|
||
| public function testUpdateGroupRoleAssignments(): void | ||
| { | ||
| $fixture = $this->loadFixture('group_role_assignment_list'); | ||
| $client = $this->createMockClient([['status' => 200, 'body' => $fixture]]); | ||
| $result = $client->authorization()->updateGroupRoleAssignments('test_group_id', roleAssignments: []); | ||
| $this->assertInstanceOf(\WorkOS\Resource\GroupRoleAssignmentList::class, $result); | ||
| $this->assertIsArray($result->toArray()); | ||
| $request = $this->getLastRequest(); | ||
| $this->assertSame('PUT', $request->getMethod()); |
There was a problem hiding this comment.
Missing fixture causes test to be silently skipped
loadFixture('group_role_assignment_list') looks for tests/Fixtures/group_role_assignment_list.json, which does not exist in the repository. The TestHelper::loadFixture implementation calls markTestSkipped() when the file is absent, so testUpdateGroupRoleAssignments will silently pass in CI as a skipped test rather than a failure, leaving the PUT /authorization/groups/{group_id}/role_assignments endpoint with no real coverage.
The existing fixture list_group_role_assignment.json has the correct shape (object, data[], list_metadata) but carries the wrong name for this call site. A new fixture group_role_assignment_list.json (with object, data, and list_metadata keys matching GroupRoleAssignmentList::fromArray) needs to be added.
Summary
feat(organization_membership)!: Change response for
UserManagementOrganizationMembership.listUserManagementOrganizationMembership.list.feat(pipes)!: SDK surface change: Symbol "Pipes.createDataIntegrationToken" was removed
feat(user_management)!: Change response for
UserManagementInvitations.listUserManagementInvitations.list.feat(authorization): Add authorization operations and models
ReplaceGroupRoleAssignmentEntry.ReplaceGroupRoleAssignments.DeleteGroupRoleAssignmentsByCriteria.POST /authorization/groups/{group_id}/role_assignments.PUT /authorization/groups/{group_id}/role_assignments.DELETE /authorization/groups/{group_id}/role_assignments.GET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}.DELETE /authorization/groups/{group_id}/role_assignments/{role_assignment_id}.feat(client): Add client API surface
ClientApiToken.ClientApiTokenResponse.Client.feat(connect): Add Connect API surface
auth_methodtoConnectedAccount.api_key_last_4toConnectedAccount.ConnectedAccountAuthMethod.feat(groups): Add groups API surface
CreateGroupRoleAssignment.GroupRoleAssignment.GroupRoleAssignmentList.GroupRoleAssignmentResource.feat(organization_membership): Add organization membership API surface
UserOrganizationMembershipList.UserOrganizationMembershipListListMetadata.feat(pipes): Add Pipes API surface
DataIntegrationCredentials.DataIntegrationConfigurationResponse.DataIntegrationConfigurationListResponse.ConfigureDataIntegrationBody.auth_methodstoDataIntegrationsListResponseData.auth_methodtoDataIntegrationsListResponseDataConnectedAccount.api_key_last_4toDataIntegrationsListResponseDataConnectedAccount.DataIntegrationCredentialsCredentialsType.DataIntegrationsListResponseDataAuthMethods.DataIntegrationsListResponseDataConnectedAccountAuthMethod.PipesProvider.feat(user_management): Update user management API surface
UserInviteList.UserInviteListListMetadata.AuthorizationCodeSessionAuthenticateRequest.client_secretoptional.RefreshTokenSessionAuthenticateRequest.client_secretoptional.feat(widgets): Add
widgets:pipes:managetoWidgetSessionTokenScopeswidgets:pipes:managetoWidgetSessionTokenScopes.Triggered by workos/openapi-spec@0e1c039
BEGIN_COMMIT_OVERRIDE
feat(organization_membership)!: Change response for
UserManagementOrganizationMembership.list(#401)feat(pipes)!: SDK surface change: Symbol "Pipes.createDataIntegrationToken" was removed (#401)
feat(user_management)!: Change response for
UserManagementInvitations.list(#401)feat(authorization): Add authorization operations and models (#401)
feat(client): Add client API surface (#401)
feat(connect): Add Connect API surface (#401)
feat(groups): Add groups API surface (#401)
feat(organization_membership): Add organization membership API surface (#401)
feat(pipes): Add Pipes API surface (#401)
feat(user_management): Update user management API surface (#401)
feat(widgets): Add
widgets:pipes:managetoWidgetSessionTokenScopes(#401)END_COMMIT_OVERRIDE