mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
added PO in the fixtures so that should be higher
This commit is contained in:
parent
a1237b4a49
commit
83764d5e6c
@ -60,7 +60,7 @@ class PurchaseOrderTest(OrderTest):
|
|||||||
def test_po_list(self):
|
def test_po_list(self):
|
||||||
|
|
||||||
# List *ALL* PO items
|
# List *ALL* PO items
|
||||||
self.filter({}, 6)
|
self.filter({}, 7)
|
||||||
|
|
||||||
# Filter by supplier
|
# Filter by supplier
|
||||||
self.filter({'supplier': 1}, 1)
|
self.filter({'supplier': 1}, 1)
|
||||||
@ -80,7 +80,7 @@ class PurchaseOrderTest(OrderTest):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
self.filter({'overdue': True}, 0)
|
self.filter({'overdue': True}, 0)
|
||||||
self.filter({'overdue': False}, 6)
|
self.filter({'overdue': False}, 7)
|
||||||
|
|
||||||
order = PurchaseOrder.objects.get(pk=1)
|
order = PurchaseOrder.objects.get(pk=1)
|
||||||
order.target_date = datetime.now().date() - timedelta(days=10)
|
order.target_date = datetime.now().date() - timedelta(days=10)
|
||||||
|
Loading…
Reference in New Issue
Block a user