]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.spec.ts
import 15.2.5
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / core / auth / user-form / user-form.component.spec.ts
index 9574504f0fd2c30f3c62cfbc8762513bd9efcdea..bd06b8e7dd2c12f85a0c1ae5e75a0fee2983e399 100644 (file)
@@ -44,23 +44,20 @@ describe('UserFormComponent', () => {
     { path: 'users', component: FakeComponent }
   ];
 
-  configureTestBed(
-    {
-      imports: [
-        RouterTestingModule.withRoutes(routes),
-        HttpClientTestingModule,
-        ReactiveFormsModule,
-        ComponentsModule,
-        ToastrModule.forRoot(),
-        SharedModule,
-        ButtonsModule.forRoot(),
-        BsDatepickerModule.forRoot()
-      ],
-      declarations: [UserFormComponent, FakeComponent],
-      providers: i18nProviders
-    },
-    true
-  );
+  configureTestBed({
+    imports: [
+      RouterTestingModule.withRoutes(routes),
+      HttpClientTestingModule,
+      ReactiveFormsModule,
+      ComponentsModule,
+      ToastrModule.forRoot(),
+      SharedModule,
+      ButtonsModule.forRoot(),
+      BsDatepickerModule.forRoot()
+    ],
+    declarations: [UserFormComponent, FakeComponent],
+    providers: i18nProviders
+  });
 
   beforeEach(() => {
     spyOn(TestBed.get(PasswordPolicyService), 'getHelpText').and.callFake(() => of(''));