removed controller.data from submit
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
jorgebl 2021-03-08 13:12:13 +01:00
parent 27816b29e7
commit 5cb959f5b8
1 changed files with 1 additions and 2 deletions

View File

@ -160,8 +160,7 @@ describe('vnItemBotanical', () => {
jest.spyOn(controller.$.watcher, 'check');
jest.spyOn(controller.$.watcher, 'notifySaved');
controller.botanical = [{itemFk: 5, genusFk: 3, specieFk: 2}];
$httpBackend.expectPATCH('ItemBotanicals', controller.botanical).respond();
$httpBackend.expectPATCH('ItemBotanicals').respond();
controller.onSubmit();
$httpBackend.flush();