]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/services/timer.service.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / services / timer.service.spec.ts
index 641fa717db691a49dd889f1c9f23563e2938a81b..10b528e3ad036a24947078e4ff88dbffbb948ce2 100644 (file)
@@ -2,7 +2,7 @@ import { fakeAsync, TestBed, tick } from '@angular/core/testing';
 
 import { of, Subscription } from 'rxjs';
 
-import { configureTestBed } from '../../../testing/unit-test-helper';
+import { configureTestBed } from '~/testing/unit-test-helper';
 import { TimerService } from './timer.service';
 
 describe('TimerService', () => {
@@ -19,7 +19,7 @@ describe('TimerService', () => {
   });
 
   beforeEach(() => {
-    service = TestBed.get(TimerService);
+    service = TestBed.inject(TimerService);
     receivedData = [];
   });