mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +00:00
fix permissions for test
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user