removed controller.data from submit
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
27816b29e7
commit
5cb959f5b8
|
@ -160,8 +160,7 @@ describe('vnItemBotanical', () => {
|
||||||
jest.spyOn(controller.$.watcher, 'check');
|
jest.spyOn(controller.$.watcher, 'check');
|
||||||
jest.spyOn(controller.$.watcher, 'notifySaved');
|
jest.spyOn(controller.$.watcher, 'notifySaved');
|
||||||
|
|
||||||
controller.botanical = [{itemFk: 5, genusFk: 3, specieFk: 2}];
|
$httpBackend.expectPATCH('ItemBotanicals').respond();
|
||||||
$httpBackend.expectPATCH('ItemBotanicals', controller.botanical).respond();
|
|
||||||
controller.onSubmit();
|
controller.onSubmit();
|
||||||
$httpBackend.flush();
|
$httpBackend.flush();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue