mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +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):
|
def test_po_reference(self):
|
||||||
"""test that a reference with a too big / small reference is not possible"""
|
"""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')
|
url = reverse('api-po-list')
|
||||||
huge_numer = 9223372036854775808
|
huge_numer = 9223372036854775808
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user