diff options
| author | Martin Trigaux <mat@openerp.com> | 2013-12-24 16:15:43 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2013-12-24 16:15:43 +0100 |
| commit | 13bfaef3a3625deb4ba1d05c50647b6126175c6f (patch) | |
| tree | 53025a76b10c0552d17de18467ab31d4491cc09c /addons/gamification/tests | |
| parent | 58994713d8ec0b92da02e7d722c8a843a6c21501 (diff) | |
[FIX] gamification: remove old calls to action_start
bzr revid: mat@openerp.com-20131224151543-oofn9wc2w3933gjy
Diffstat (limited to 'addons/gamification/tests')
| -rw-r--r-- | addons/gamification/tests/test_challenge.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/gamification/tests/test_challenge.py b/addons/gamification/tests/test_challenge.py index c5dc02ef468..2655a1b26fd 100644 --- a/addons/gamification/tests/test_challenge.py +++ b/addons/gamification/tests/test_challenge.py @@ -63,7 +63,7 @@ class test_challenge(common.TransactionCase): def test_10_reach_challenge(self): cr, uid, context = self.cr, self.uid, {} - self.challenge_obj.action_start(cr, uid, [self.challenge_base_id], context=context) + self.challenge_obj.write(cr, uid, [self.challenge_base_id], {'state': 'inprogress'}, context=context) challenge = self.challenge_obj.browse(cr, uid, self.challenge_base_id, context=context) challenge_user_ids = [user.id for user in challenge.user_ids] |
