mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-06 10:06:40 +00:00
Fix tests
This commit is contained in:
parent
86db2e208c
commit
10c1461d93
@ -94,9 +94,10 @@ describe('IosTemplateDetailsComponent', () => {
|
||||
component.advancedForm.controls['idlemax'].setValue('0');
|
||||
component.advancedForm.controls['idlesleep'].setValue('0');
|
||||
component.advancedForm.controls['execarea'].setValue('0');
|
||||
|
||||
component.advancedForm.controls['idlepc'].setValue('0x0');
|
||||
component.advancedForm.controls['mac_addr'].setValue('');
|
||||
spyOn(component, 'saveSlotsData').and.returnValue();
|
||||
component.onSave();
|
||||
|
||||
expect(mockedIosService.saveTemplate).toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user