mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix permissions for test
This commit is contained in:
parent
b8cdcab10d
commit
c4f1a81c9c
@ -107,6 +107,9 @@ class PurchaseOrderTest(OrderTest):
|
||||
|
||||
def test_po_reference(self):
|
||||
"""test that a reference with a too big / small reference is not possible"""
|
||||
# get permissions
|
||||
self.assignRole('purchase_order.add')
|
||||
|
||||
url = reverse('api-po-list')
|
||||
huge_numer = 9223372036854775808
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user