diff --git a/india_compliance/gst_india/overrides/test_subcontracting_transaction.py b/india_compliance/gst_india/overrides/test_subcontracting_transaction.py index 9168b6c22..33473f1d0 100644 --- a/india_compliance/gst_india/overrides/test_subcontracting_transaction.py +++ b/india_compliance/gst_india/overrides/test_subcontracting_transaction.py @@ -298,7 +298,7 @@ def test_standalone_stock_entry(self): self.assertRaisesRegex( frappe.ValidationError, - re.compile(r"(.*GST Category is a mandatory field for GST Transactions.*)"), + re.compile(r"(.*Please ensure that it is set in the Party and / or Address.*)"), se.save, ) @@ -322,6 +322,7 @@ def test_validation_for_doc_references(self): return_se = get_materials_from_supplier( sco.name, [d.name for d in sco.supplied_items] ) + return_se.supplier = "_Test Registered Supplier" return_se.save() scr = make_subcontracting_receipt(sco.name)