1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00:00

[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
2 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ describe("TrialInitiationComponent", () => {
component: BlankComponent, component: BlankComponent,
}, },
{ {
path: `organizations/${testOrgId}/manage/people`, path: `organizations/${testOrgId}/manage/members`,
component: BlankComponent, component: BlankComponent,
}, },
]), ]),
@@ -301,7 +301,7 @@ describe("TrialInitiationComponent", () => {
describe("navigateToOrgVault", () => { describe("navigateToOrgVault", () => {
it("should call verticalStepper.previous()", fakeAsync(() => { it("should call verticalStepper.previous()", fakeAsync(() => {
component.navigateToOrgInvite(); 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() { navigateToOrgInvite() {
this.router.navigate(["organizations", this.orgId, "manage", "people"]); this.router.navigate(["organizations", this.orgId, "manage", "members"]);
} }
previousStep() { previousStep() {