@@ -91,7 +91,7 @@ describe("generatePortalUrl", () => {
91
91
} ) ;
92
92
93
93
expect ( fetchSpy ) . toBeCalledWith (
94
- `https://mykindedomain.com/account_api/v1/portal_link?sub_nav =organization_members&return_url=http%3A%2F%2Fsomereturnurl.com` ,
94
+ `https://mykindedomain.com/account_api/v1/portal_link?subnav =organization_members&return_url=http%3A%2F%2Fsomereturnurl.com` ,
95
95
{
96
96
headers : {
97
97
Authorization : "Bearer storedAccessToken" ,
@@ -122,7 +122,7 @@ describe("generatePortalUrl", () => {
122
122
} ) ;
123
123
124
124
expect ( fetchSpy ) . toBeCalledWith (
125
- `https://mykindedomain.com/account_api/v1/portal_link?sub_nav =profile&return_url=http%3A%2F%2Fsomereturnurl.com` ,
125
+ `https://mykindedomain.com/account_api/v1/portal_link?subnav =profile&return_url=http%3A%2F%2Fsomereturnurl.com` ,
126
126
{
127
127
headers : {
128
128
Authorization : "Bearer storedAccessToken" ,
@@ -156,7 +156,7 @@ describe("generatePortalUrl", () => {
156
156
} ) ;
157
157
158
158
expect ( fetchSpy ) . toBeCalledWith (
159
- `https://mykindedomain.kinde.com/account_api/v1/portal_link?sub_nav =organization_payment_details&return_url=http%3A%2F%2Fanotherredirect.com` ,
159
+ `https://mykindedomain.kinde.com/account_api/v1/portal_link?subnav =organization_payment_details&return_url=http%3A%2F%2Fanotherredirect.com` ,
160
160
{
161
161
headers : {
162
162
Authorization : "Bearer storedAccessToken" ,
@@ -196,7 +196,7 @@ describe("generatePortalUrl", () => {
196
196
expect . any ( Object ) ,
197
197
) ;
198
198
expect ( fetchSpy ) . toBeCalledWith (
199
- expect . stringContaining ( `sub_nav =${ subNav } ` ) ,
199
+ expect . stringContaining ( `subnav =${ subNav } ` ) ,
200
200
expect . any ( Object ) ,
201
201
) ;
202
202
} ) ;
@@ -317,7 +317,7 @@ describe("generatePortalUrl", () => {
317
317
} ) ;
318
318
expect ( fetchSpy ) . toBeCalled ( ) ;
319
319
expect ( fetchSpy ) . toBeCalledWith (
320
- expect . stringContaining ( `sub_nav =${ subNav } ` ) ,
320
+ expect . stringContaining ( `subnav =${ subNav } ` ) ,
321
321
expect . any ( Object ) ,
322
322
) ;
323
323
} ) ;
@@ -346,7 +346,7 @@ describe("generatePortalUrl", () => {
346
346
} ) ;
347
347
348
348
expect ( fetchSpy ) . toBeCalledWith (
349
- expect . stringContaining ( `sub_nav =${ subNav } ` ) ,
349
+ expect . stringContaining ( `subnav =${ subNav } ` ) ,
350
350
expect . any ( Object ) ,
351
351
) ;
352
352
} ) ;
0 commit comments