]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/iscsi.service.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / iscsi.service.spec.ts
index 7eb21db917344583ad05d4eada34cb181b590efb..fcb1804a671a32ea614b4b96b031c2fa3f7899d0 100644 (file)
@@ -1,7 +1,7 @@
 import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
 import { TestBed } from '@angular/core/testing';
 
-import { configureTestBed } from '../../../testing/unit-test-helper';
+import { configureTestBed } from '~/testing/unit-test-helper';
 import { IscsiService } from './iscsi.service';
 
 describe('IscsiService', () => {
@@ -14,8 +14,8 @@ describe('IscsiService', () => {
   });
 
   beforeEach(() => {
-    service = TestBed.get(IscsiService);
-    httpTesting = TestBed.get(HttpTestingController);
+    service = TestBed.inject(IscsiService);
+    httpTesting = TestBed.inject(HttpTestingController);
   });
 
   afterEach(() => {