Unit test fixes

This commit is contained in:
Oliver 2021-10-05 17:35:10 +11:00
parent dd760bfecd
commit 93c53315cc

View File

@ -251,7 +251,7 @@ class PurchaseOrderReceiveTest(OrderTest):
expected_code=400 expected_code=400
).data ).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 # No new stock items have been created
self.assertEqual(self.n, StockItem.objects.count()) self.assertEqual(self.n, StockItem.objects.count())