fix permissions for test

This commit is contained in:
Matthias 2021-12-02 01:18:45 +01:00
parent b8cdcab10d
commit c4f1a81c9c
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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