Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Sep 29, 2024
1 parent 558b810 commit 1bd146d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/InvenTree/stock/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@ def test_bulk_delete(self):
# Now, let's delete all the newly created items with a single API request
# However, we will provide incorrect filters
response = self.delete(
url, {'items': tests, 'filters': {'stock_item': 10}}, expected_code=204
url, {'items': tests, 'filters': {'stock_item': 10}}, expected_code=400
)

self.assertEqual(StockItemTestResult.objects.count(), n + 50)
Expand Down

0 comments on commit 1bd146d

Please sign in to comment.