Skip to content

Commit

Permalink
feat: incorporate Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
britsta committed Dec 9, 2024
1 parent b3ee585 commit a70d917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class IdentityDeletionProcessClient extends RESTClientAuthenticate {
protected override _logDirective = RESTClientLogDirective.LogResponse;

public async initiateIdentityDeletionProcess(value: BackbonePostIdentityDeletionProcessRequest): Promise<ClientResult<BackboneIdentityDeletionProcess>> {
return await this.post<BackboneIdentityDeletionProcess>("/api/v1/Identities/Self/DeletionProcesses", value, {});
return await this.post<BackboneIdentityDeletionProcess>("/api/v1/Identities/Self/DeletionProcesses", value);
}

public async getIdentityDeletionProcess(identityDeletionProcessId: string): Promise<ClientResult<BackboneIdentityDeletionProcess>> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ describe("Relationship decomposition due to Identity deletion", function () {
await connection.close();
});

test("deletion of a previously active Relationship should be proposed after the peer is deleted", async function () {
test("status of a previously active Relationship should be set to 'DeletionProposed' after the peer is deleted", async function () {
const activeRelationship = await sender.relationships.getActiveRelationshipToIdentity(recipient.identity.address);
expect(activeRelationship?.status).toBe(RelationshipStatus.Active);

Expand Down

0 comments on commit a70d917

Please sign in to comment.