[FIX] base: make the test pass
Since this test relies on the fact that no data exists yet, we are forced to unlink them...
This commit is contained in:
@@ -185,6 +185,7 @@ class TestActionBindings(common.TransactionCase):
|
||||
Actions = self.env['ir.actions.actions']
|
||||
|
||||
# first make sure there is no bound action
|
||||
self.env.ref('base.action_partner_merge').unlink()
|
||||
bindings = Actions.get_bindings('res.partner')
|
||||
self.assertFalse(bindings['action'])
|
||||
self.assertFalse(bindings['report'])
|
||||
|
||||
Reference in New Issue
Block a user