Skip to content

Commit

Permalink
MARP-1017 Implement Error page - update error page path
Browse files Browse the repository at this point in the history
  • Loading branch information
phhung-axonivy committed Sep 5, 2024
1 parent 3a90eed commit 1e0d14d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions marketplace-ui/src/app/core/interceptors/api.interceptor.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClient, HttpContext, HttpContextToken, HttpHeaders, HttpResponse } from '@angular/common/http';
import { provideHttpClient, withInterceptors } from '@angular/common/http';
import { HttpClient, HttpHeaders, provideHttpClient, withInterceptors } from '@angular/common/http';
import { HttpTestingController } from '@angular/common/http/testing';
import { apiInterceptor } from './api.interceptor';
import { ProductComponent } from '../../modules/product/product.component';
import { TranslateModule } from '@ngx-translate/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ActivatedRoute } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
import { of } from 'rxjs';
import { ProductComponent } from '../../modules/product/product.component';
import { DESIGNER_COOKIE_VARIABLE } from '../../shared/constants/common.constant';
import { apiInterceptor } from './api.interceptor';

describe('AuthInterceptor', () => {
let productComponent: ProductComponent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Router } from '@angular/router';

export const REQUEST_BY = 'X-Requested-By';
export const IVY = 'ivy';
export const ERROR_PAGE_PATH = '/error';
export const ERROR_PAGE_PATH = '/app/error';
export const CODE_404 = 404;
export const CODE_500 = 500;

Expand Down

0 comments on commit 1e0d14d

Please sign in to comment.