mirror of
https://github.com/bitwarden/browser
synced 2025-01-28 20:19:49 +01: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:
parent
1f92dcbf20
commit
2df2f953c2
@ -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"]);
|
||||
}));
|
||||
});
|
||||
});
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user