Skip to content

Commit

Permalink
Update build unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Feb 18, 2024
1 parent b131d54 commit fef628a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion InvenTree/build/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,9 +655,10 @@ def test_complete_with_required_tests(self):
# let's complete the required test and see if it could be saved
StockItemTestResult.objects.create(
stock_item=self.stockitem_with_required_test,
test=self.test_template_required.test_name,
template=self.test_template_required,
result=True
)

self.build_w_tests_trackable.complete_build_output(self.stockitem_with_required_test, None)

# let's see if a non required test could be saved
Expand Down

0 comments on commit fef628a

Please sign in to comment.