From 37f40d516a663c3f6dc1e08b49e913d8cc8098bf Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 19 Jul 2018 12:14:01 +0200 Subject: [PATCH] [FIX] account: adapt new tests to new reconciliation widget API --- addons/account/static/tests/reconciliation_tests.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/account/static/tests/reconciliation_tests.js b/addons/account/static/tests/reconciliation_tests.js index 77e9a5d4385..4fb3f997368 100644 --- a/addons/account/static/tests/reconciliation_tests.js +++ b/addons/account/static/tests/reconciliation_tests.js @@ -1549,7 +1549,7 @@ QUnit.module('account', { testUtils.addMockEnvironment(clientAction, { data: this.params.data, mockRPC: function (route, args) { - if (args.method === 'process_reconciliations') { + if (args.method === 'process_bank_statement_line') { assert.deepEqual(args.args, [ [5], // Id of the bank statement line @@ -1570,7 +1570,7 @@ QUnit.module('account', { payment_aml_ids: [], partner_id: 8, new_aml_dicts: []}] - ], "should call process_reconciliations with partial reconcile values"); + ], "should call process_bank_statement_line with partial reconcile values"); } return this._super(route, args); }, @@ -1642,7 +1642,7 @@ QUnit.module('account', { testUtils.addMockEnvironment(clientAction, { data: this.params.data, mockRPC: function (route, args) { - if (args.method === 'process_reconciliations') { + if (args.method === 'process_bank_statement_line') { assert.deepEqual(args.args, [ [5], // Id of the bank statement line @@ -1670,7 +1670,7 @@ QUnit.module('account', { name: 'SAJ/2014/002 and SAJ/2014/003', } ]}] - ], "should call process_reconciliations with new aml dict reconcile values"); + ], "should call process_bank_statement_line with new aml dict reconcile values"); } return this._super(route, args); },