]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/services/summary.service.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / services / summary.service.spec.ts
index 14144921ef1819156a6227d351fd6558ee7d0636..5369a578d4c67e414b602430e39461747c541e0e 100644 (file)
@@ -4,7 +4,7 @@ import { RouterTestingModule } from '@angular/router/testing';
 
 import { of as observableOf, Subscriber, Subscription } from 'rxjs';
 
-import { configureTestBed } from '../../../testing/unit-test-helper';
+import { configureTestBed } from '~/testing/unit-test-helper';
 import { ExecutingTask } from '../models/executing-task';
 import { Summary } from '../models/summary.model';
 import { AuthStorageService } from './auth-storage.service';
@@ -42,8 +42,8 @@ describe('SummaryService', () => {
   });
 
   beforeEach(() => {
-    summaryService = TestBed.get(SummaryService);
-    authStorageService = TestBed.get(AuthStorageService);
+    summaryService = TestBed.inject(SummaryService);
+    authStorageService = TestBed.inject(AuthStorageService);
   });
 
   it('should be created', () => {