mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Unit test fixes
This commit is contained in:
parent
dd760bfecd
commit
93c53315cc
@ -251,7 +251,7 @@ class PurchaseOrderReceiveTest(OrderTest):
|
||||
expected_code=400
|
||||
).data
|
||||
|
||||
self.assertIn('Line items must be provided', str(data['items']))
|
||||
self.assertIn('Line items must be provided', str(data))
|
||||
|
||||
# No new stock items have been created
|
||||
self.assertEqual(self.n, StockItem.objects.count())
|
||||
|
Loading…
Reference in New Issue
Block a user