Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
annelo-msft committed Aug 23, 2021
1 parent 3e72195 commit ff0c952
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ public async Task CreateRoleAssignment_ModelTypeParameterOverload()

SynapseRoleAssignment roleAssignment = new SynapseRoleAssignment(roleId, principalId, scope);

await client.CreateRoleAssignmentAsync(roleAssignmentId, roleAssignment);
SynapseRoleAssignment returnedRoleAssignment = await client.CreateRoleAssignmentAsync(roleAssignmentId, roleAssignment, new RequestOptions()
{
StatusOption = ResponseStatusOption.NoThrow
});

// TODO: Finish this test and figure out the rest.

await using DisposableClientRole role = await DisposableClientRole.Create(client, TestEnvironment);

Expand Down

0 comments on commit ff0c952

Please sign in to comment.