]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/logs.service.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / logs.service.spec.ts
index 8e7777a63f47ef2536860b575f4384f50eaa3926..82c12dad8350eb4045cf745fb100df7e5b81c7f4 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 { LogsService } from './logs.service';
 
 describe('LogsService', () => {
@@ -14,8 +14,8 @@ describe('LogsService', () => {
   });
 
   beforeEach(() => {
-    service = TestBed.get(LogsService);
-    httpTesting = TestBed.get(HttpTestingController);
+    service = TestBed.inject(LogsService);
+    httpTesting = TestBed.inject(HttpTestingController);
   });
 
   afterEach(() => {