Merge "Update baseUrl of pms_v2.0"
authorPatrik Buhr <patrik.buhr@est.tech>
Mon, 1 Feb 2021 09:09:36 +0000 (09:09 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Mon, 1 Feb 2021 09:09:36 +0000 (09:09 +0000)
1  2 
webapp-frontend/src/app/services/policy/policy.service.spec.ts

@@@ -25,7 -25,7 +25,7 @@@ import { PolicyInstance, PolicyInstance
  
  describe('PolicyService', () => {
    let apiVersion2 = 'v2'
-   let basePath = '';
+   let basePath = '/a1-policy/';
    let policyService: PolicyService;
    let httpTestingController: HttpTestingController;
    beforeEach(() => TestBed.configureTestingModule({
@@@ -59,6 -59,7 +59,6 @@@
          policytypes => expect(policytypes).toEqual(expectedPolicytypes, 'should return expected PolicyTypes'),
          fail
        );
 -
        const req = httpTestingController.expectOne(basePath + apiVersion2 + '/' + policyService.policyTypesPath);
        expect(req.request.method).toEqual('GET');