Unit tests updated

This commit is contained in:
Piotr Pekala 2019-10-07 23:42:36 -07:00
parent 0d89b7df11
commit 70f7c54de0
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,8 @@ import {
MatFormFieldModule,
MatDialogRef,
MAT_DIALOG_DATA,
MatSnackBarModule
MatSnackBarModule,
MatTabsModule
} from '@angular/material';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { ToasterService } from '../../../../services/toaster.service';
@ -36,7 +37,8 @@ describe('ConfigEditorDialogComponent', () => {
MatFormFieldModule,
NoopAnimationsModule,
MatSnackBarModule,
FormsModule
FormsModule,
MatTabsModule
],
providers: [
{ provide: MatDialogRef, useValue: dialogRef },

View File

@ -119,7 +119,7 @@ export class MockedNodeService {
return of(node);
}
getConfiguration(server: Server, node: Node) {
getStartupConfiguration(server: Server, node: Node) {
return of('sample config');
}