]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.spec.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / erasure-code-profile.service.spec.ts
index c2a90c27fb8106e500d7a654888725a2d5b83116..caf3da0c64227758561470ad0e0fcc77c6b3a2ac 100644 (file)
@@ -1,7 +1,7 @@
 import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
 import { TestBed } from '@angular/core/testing';
 
-import { configureTestBed, i18nProviders } from '../../../testing/unit-test-helper';
+import { configureTestBed } from '~/testing/unit-test-helper';
 import { ErasureCodeProfile } from '../models/erasure-code-profile';
 import { ErasureCodeProfileService } from './erasure-code-profile.service';
 
@@ -13,12 +13,12 @@ describe('ErasureCodeProfileService', () => {
 
   configureTestBed({
     imports: [HttpClientTestingModule],
-    providers: [ErasureCodeProfileService, i18nProviders]
+    providers: [ErasureCodeProfileService]
   });
 
   beforeEach(() => {
-    service = TestBed.get(ErasureCodeProfileService);
-    httpTesting = TestBed.get(HttpTestingController);
+    service = TestBed.inject(ErasureCodeProfileService);
+    httpTesting = TestBed.inject(HttpTestingController);
   });
 
   afterEach(() => {