Skip to content

Commit

Permalink
Merge pull request #32800 from rohitwaghchaure/test-cases-failing
Browse files Browse the repository at this point in the history
fix: test cases
  • Loading branch information
rohitwaghchaure authored Nov 1, 2022
2 parents e0a705a + 3f2728e commit a6a2806
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ def _get_requested_qty():
mr = frappe.copy_doc(test_records[0])
mr.material_request_type = "Material Issue"
mr.submit()
frappe.db.value_cache = {}

# testing bin value after material request is submitted
self.assertEqual(_get_requested_qty(), existing_requested_qty - 54.0)
Expand Down

0 comments on commit a6a2806

Please sign in to comment.