Fix tests
Some checks failed
Build / Node 14 (push) Has been cancelled
Build / Node 16 (push) Has been cancelled
Build / Node 18 (push) Has been cancelled

This commit is contained in:
grossmj 2025-02-04 21:45:22 +10:00
parent 86db2e208c
commit 10c1461d93
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -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();
});
});