[SG-890] Fix routing to org members in trial confirmation (#4255)

* Fix routing to org members in trial confirmation

* Adjust trial tests with new route
This commit is contained in:
Robyn MacCallum 2022-12-19 08:51:09 -05:00 committed by GitHub
parent 1f92dcbf20
commit 2df2f953c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ describe("TrialInitiationComponent", () => {
component: BlankComponent,
},
{
path: `organizations/${testOrgId}/manage/people`,
path: `organizations/${testOrgId}/manage/members`,
component: BlankComponent,
},
]),
@ -301,7 +301,7 @@ describe("TrialInitiationComponent", () => {
describe("navigateToOrgVault", () => {
it("should call verticalStepper.previous()", fakeAsync(() => {
component.navigateToOrgInvite();
expect(routerSpy).toHaveBeenCalledWith(["organizations", testOrgId, "manage", "people"]);
expect(routerSpy).toHaveBeenCalledWith(["organizations", testOrgId, "manage", "members"]);
}));
});
});

View File

@ -227,7 +227,7 @@ export class TrialInitiationComponent implements OnInit, OnDestroy {
}
navigateToOrgInvite() {
this.router.navigate(["organizations", this.orgId, "manage", "people"]);
this.router.navigate(["organizations", this.orgId, "manage", "members"]);
}
previousStep() {