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:
@@ -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"]);
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user