Uplift to Angular 9
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / services / ui / notification.service.spec.ts
index b6953e6..f522b11 100644 (file)
@@ -25,7 +25,7 @@ import { ToastrModule } from 'ngx-toastr';
 
 describe('NotificationService', () => {
   beforeEach(() => TestBed.configureTestingModule({
-    imports: [ToastrModule.forRoot()],  
+    imports: [ToastrModule.forRoot()],
     providers: [
         {provide: ToastrModule}
       ]
@@ -33,7 +33,7 @@ describe('NotificationService', () => {
   }));
 
   it('should be created', () => {
-    const service: NotificationService = TestBed.get(NotificationService);
+    const service: NotificationService = TestBed.inject(NotificationService);
     expect(service).toBeTruthy();
   });
 });