2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Fix simple tests

This commit is contained in:
Ben Charlton
2020-08-21 18:53:51 +01:00
parent f7ed48809c
commit c31b30bf83
3 changed files with 7 additions and 8 deletions

View File

@ -220,5 +220,5 @@ class BuildTest(TestCase):
# And a new stock item created for the build output
self.assertEqual(StockItem.objects.get(pk=7).quantity, 1)
self.assertEqual(StockItem.objects.get(pk=7).serial, 1)
self.assertEqual(StockItem.objects.get(pk=7).serial, "1")
self.assertEqual(StockItem.objects.get(pk=7).build, self.build)