fix(test): ignore stock validation
diff --git a/erpnext/accounts/doctype/pos_invoice_merge_log/test_pos_invoice_merge_log.py b/erpnext/accounts/doctype/pos_invoice_merge_log/test_pos_invoice_merge_log.py
index 928d266..fd1aaab 100644
--- a/erpnext/accounts/doctype/pos_invoice_merge_log/test_pos_invoice_merge_log.py
+++ b/erpnext/accounts/doctype/pos_invoice_merge_log/test_pos_invoice_merge_log.py
@@ -158,6 +158,7 @@
 		Round off error in consolidated invoice creation if POS Invoice has inclusive tax
 		'''
 		frappe.db.sql("delete from `tabPOS Invoice`")
+		frappe.db.set_value('Stock Settings', None, 'allow_negative_stock', 1)
 
 		try:
 			init_user_and_profile()
@@ -205,12 +206,14 @@
 			frappe.set_user("Administrator")
 			frappe.db.sql("delete from `tabPOS Profile`")
 			frappe.db.sql("delete from `tabPOS Invoice`")
+			frappe.db.set_value('Stock Settings', None, 'allow_negative_stock', 0)
 
 	def test_consolidation_round_off_error_2(self):
 		'''
 		Test the same case as above but with an Unpaid POS Invoice
 		'''
 		frappe.db.sql("delete from `tabPOS Invoice`")
+		frappe.db.set_value('Stock Settings', None, 'allow_negative_stock', 1)
 
 		try:
 			init_user_and_profile()
@@ -265,3 +268,4 @@
 			frappe.set_user("Administrator")
 			frappe.db.sql("delete from `tabPOS Profile`")
 			frappe.db.sql("delete from `tabPOS Invoice`")
+			frappe.db.set_value('Stock Settings', None, 'allow_negative_stock', 0)