From 691dd65e0ecca5ef1ab4fa1ff363562a9349c1d4 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 1 Aug 2018 16:29:57 +0200 Subject: [PATCH] [FIX] account: adapt new test to actual api Oversight of previous forward-port --- addons/account/static/tests/reconciliation_tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/static/tests/reconciliation_tests.js b/addons/account/static/tests/reconciliation_tests.js index 4f0032b52b6..93a8a1818b4 100644 --- a/addons/account/static/tests/reconciliation_tests.js +++ b/addons/account/static/tests/reconciliation_tests.js @@ -1737,14 +1737,14 @@ QUnit.module('account', { testUtils.addMockEnvironment(clientAction, { data: this.params.data, mockRPC: function (route, args) { - if (args.method === 'process_reconciliations') { + if (args.method === 'process_move_lines') { assert.deepEqual(args.args, [ [{id: null, type: null, mv_line_ids: [399, 402], new_mv_line_dicts: []} ] - ], "should call process_reconciliations without the new mv line dict"); + ], "should call process_move_lines without the new mv line dict"); } return this._super(route, args);