[FIX] stock_mts_mto_rule: fix tests after the removal of a constrains

This commit is contained in:
Florian da Costa
2022-10-17 16:50:30 +02:00
parent 03a6baede8
commit cb32477639

View File

@@ -150,8 +150,6 @@ class TestMtoMtsRoute(TransactionCase):
)
with self.assertRaises(exceptions.ValidationError):
rule.write({"mts_rule_id": False})
with self.assertRaises(exceptions.ValidationError):
rule.write({"mts_rule_id": self.dummy_rule.id})
def test_mts_mto_route_mto_removed(self):
self.env.ref("stock_mts_mto_rule.route_mto_mts").unlink()