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