Skip to content

Commit

Permalink
test: fix unit client test
Browse files Browse the repository at this point in the history
  • Loading branch information
lomamech committed Oct 11, 2022
1 parent 2ccc658 commit 31b990a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/client-unit/mocks/stock.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
lot : 'A',
quantity : 50,
expiration_date : '2019-01-01',
package_size : 1,
}, {
uuid : 'd03e7870-0c8e-47d4-a7a8-a17a9924b124',
lot : 'B',
quantity : 30,
expiration_date : '2018-12-01',
package_size : 1,
}]);

service.singleInventoryFormStoreData = () => ({
Expand All @@ -34,6 +36,7 @@
description : '',
reference_number : undefined,
serial_number : undefined,
package_size : 1,
},
{
uuid : 'd03e7870-0c8e-47d4-a7a8-a17a9924b124',
Expand All @@ -45,6 +48,7 @@
description : '',
reference_number : undefined,
serial_number : undefined,
package_size : 1,
},
]);
}
Expand Down

0 comments on commit 31b990a

Please sign in to comment.