mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-13 08:21:26 +00:00
Bug fix
- Turns out 'item_count' was actually used for something (that I wrote... recently...)
This commit is contained in:
@ -79,7 +79,7 @@ class StockTest(TestCase):
|
||||
|
||||
# Drawer 3 should have three stock items
|
||||
self.assertEqual(self.drawer3.stock_items.count(), 3)
|
||||
self.assertEqual(self.drawer3.stock_item_count, 3)
|
||||
self.assertEqual(self.drawer3.item_count, 3)
|
||||
|
||||
def test_stock_count(self):
|
||||
part = Part.objects.get(pk=1)
|
||||
|
Reference in New Issue
Block a user