mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_mts_mto_rule: fix tests after the removal of a constrains
This commit is contained in:
@@ -150,8 +150,6 @@ class TestMtoMtsRoute(TransactionCase):
|
|||||||
)
|
)
|
||||||
with self.assertRaises(exceptions.ValidationError):
|
with self.assertRaises(exceptions.ValidationError):
|
||||||
rule.write({"mts_rule_id": False})
|
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):
|
def test_mts_mto_route_mto_removed(self):
|
||||||
self.env.ref("stock_mts_mto_rule.route_mto_mts").unlink()
|
self.env.ref("stock_mts_mto_rule.route_mto_mts").unlink()
|
||||||
|
|||||||
Reference in New Issue
Block a user