|
@@ -137,7 +137,7 @@ describe('test/app/service/deal_bills.test.js', () => {
|
|
|
assert(result);
|
|
|
|
|
|
const bills = yield ctx.service.dealBills.getAllDataByCondition({where: {tender_id: ctx.tender.id}});
|
|
|
- assert(bills.length === 98);
|
|
|
+ assert(bills.length === 100);
|
|
|
});
|
|
|
// 导入 存在数量单价为空的数据
|
|
|
it('test import Excel data by js-xlsx', function* () {
|
|
@@ -173,4 +173,4 @@ describe('test/app/service/deal_bills.test.js', () => {
|
|
|
assert(bills[3].quantity === 3);
|
|
|
assert(!bills[3].total_price || bills[0].total_price === 0);
|
|
|
});
|
|
|
-});
|
|
|
+});
|