Fix for log-console-component tests

This commit is contained in:
piotrpekala7 2020-08-26 17:48:05 +02:00
parent 0682595f6f
commit 9e37f47ef1
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ describe('LogConsoleComponent', () => {
component.handleCommand();
expect(component.showMessage).toHaveBeenCalledWith({type: 'command', message: 'Current version: 2020.2.0-beta.1'});
expect(component.showMessage).toHaveBeenCalledWith({type: 'command', message: 'Current version: 2020.3.0-beta.2'});
});
it('should call show message when unknown command entered', () => {

View File

@ -38,7 +38,7 @@ describe('ConfigEditorDialogComponent', () => {
],
providers: [
{ provide: MatDialogRef, useValue: dialogRef },
{ provide: MAT_DIALOG_DATA },
{ provide: MAT_DIALOG_DATA, useValue: [] },
{ provide: NodeService, useValue: mockedNodeService },
{ provide: ToasterService, useValue: toaster }
],