Merge pull request #30034 from nextchamp-saqib/fix-pos-flaky-test

fix(test): flaky test_point_of_sale
This commit is contained in:
Saqib Ansari 2022-03-01 15:32:33 +05:30 committed by GitHub
commit 056a0ec421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ class TestPointOfSale(unittest.TestCase):
Test Stock and Service Item Search.
"""
pos_profile = make_pos_profile()
pos_profile = make_pos_profile(name="Test POS Profile for Search")
item1 = make_item("Test Search Stock Item", {"is_stock_item": 1})
make_stock_entry(
item_code="Test Search Stock Item",