Bug fix for test cases

This commit is contained in:
Oliver Walters committed 2019-11-19 10:19:52 +11:00
1 parent 9da8189899
commit dbdbe69f7f
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -245,7 +245,7 @@ class StockTest(TestCase):
w1 = StockItem.objects.get(pk=100)
w2 = StockItem.objects.get(pk=101)
# Take 25 units from w1
# Take 25 units from w1 (there are only 10 in stock)
w1.take_stock(30, None, notes='Took 30')
# Get from database again