forked from erp-dev/erp
fix: business cancel service merged
This commit is contained in:
@@ -171,6 +171,7 @@ class PrintingJobByCustomerAPITest(TestCase):
|
||||
customer=self.customer,
|
||||
fabric='棉',
|
||||
width='150cm',
|
||||
external_order_id='KD20410611',
|
||||
)
|
||||
self.printing_order_other = printing_models.PrintingOrder.objects.create(
|
||||
customer=self.customer,
|
||||
@@ -251,6 +252,7 @@ class PrintingJobByCustomerAPITest(TestCase):
|
||||
self.assertEqual(resp.status_code, 200)
|
||||
self.assertEqual(len(resp.data), 1)
|
||||
self.assertEqual(resp.data[0]['id'], self.job_in_range.id)
|
||||
self.assertEqual(resp.data[0]['external_order_id'], 'KD20410611')
|
||||
self.assertEqual(resp.data[0]['billed_quantity'], '20.00')
|
||||
|
||||
def test_filter_by_printing_order(self):
|
||||
|
||||
Reference in New Issue
Block a user