@@ -471,7 +471,7 @@ describe('authenticatedHttpClient usage', () => {
471
471
expectNoCallToCsrfTokenFetch ( ) ;
472
472
expectLogFunctionToHaveBeenCalledWithMessage (
473
473
mockLoggingService . logError . mock . calls [ 0 ] ,
474
- '[frontend-auth] Axios Error (Response): 403 http://localhost:18000/login_refresh (empty response) ' ,
474
+ '[frontend-auth] Axios Error (Response): 403 - See custom attributes for details. ' ,
475
475
{
476
476
httpErrorRequestMethod : 'post' ,
477
477
httpErrorResponseData : '(empty response)' ,
@@ -500,7 +500,7 @@ describe('authenticatedHttpClient usage', () => {
500
500
expectNoCallToCsrfTokenFetch ( ) ;
501
501
expectLogFunctionToHaveBeenCalledWithMessage (
502
502
mockLoggingService . logError . mock . calls [ 0 ] ,
503
- '[frontend-auth] Axios Error (Config): timeout of 0ms exceeded post http://localhost:18000/login_refresh ' ,
503
+ '[frontend-auth] Axios Error (Config): See custom attributes for details. ' ,
504
504
{
505
505
httpErrorRequestMethod : 'post' ,
506
506
httpErrorMessage : 'timeout of 0ms exceeded' ,
@@ -700,7 +700,7 @@ describe('authenticatedHttpClient usage', () => {
700
700
return client . get ( '/unauthorized' ) . catch ( ( ) => {
701
701
expectLogFunctionToHaveBeenCalledWithMessage (
702
702
mockLoggingService . logInfo . mock . calls [ 0 ] ,
703
- 'Axios Error (Response): 401 /unauthorized (empty response) ' ,
703
+ 'Axios Error (Response): 401 - See custom attributes for details. ' ,
704
704
{
705
705
httpErrorRequestMethod : 'get' ,
706
706
httpErrorStatus : 401 ,
@@ -719,7 +719,7 @@ describe('authenticatedHttpClient usage', () => {
719
719
return client . get ( '/forbidden' ) . catch ( ( ) => {
720
720
expectLogFunctionToHaveBeenCalledWithMessage (
721
721
mockLoggingService . logInfo . mock . calls [ 0 ] ,
722
- 'Axios Error (Response): 403 /forbidden (empty response) ' ,
722
+ 'Axios Error (Response): 403 - See custom attributes for details. ' ,
723
723
{
724
724
httpErrorRequestMethod : 'get' ,
725
725
httpErrorStatus : 403 ,
@@ -1068,7 +1068,7 @@ describe('Cache Functionality', () => {
1068
1068
expectNoCallToCsrfTokenFetch ( ) ;
1069
1069
expectLogFunctionToHaveBeenCalledWithMessage (
1070
1070
mockLoggingService . logError . mock . calls [ 0 ] ,
1071
- '[frontend-auth] Axios Error (Response): 403 http://localhost:18000/login_refresh (empty response) ' ,
1071
+ '[frontend-auth] Axios Error (Response): 403 - See custom attributes for details. ' ,
1072
1072
{
1073
1073
httpErrorRequestMethod : 'post' ,
1074
1074
httpErrorResponseData : '(empty response)' ,
0 commit comments