[FIX] account: adapt new test to actual api

Oversight of previous forward-port
This commit is contained in:
Christophe Simonis
2018-08-01 16:29:57 +02:00
parent ea3d1397fc
commit 691dd65e0e
@@ -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);