Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Feb 4, 2025
1 parent 86db2e2 commit 10c1461
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
});

0 comments on commit 10c1461

Please sign in to comment.