[FIX] board: adapt test to new version

Oversight of previous forward-port.
This commit is contained in:
Christophe Simonis
2019-05-07 11:42:58 +02:00
parent c32b7e54a5
commit 106dffe479
+3 -3
View File
@@ -926,7 +926,7 @@ QUnit.test("Dashboard should use correct groupby", async function (assert) {
'</board>' +
'</form>',
mockRPC: function (route, args) {
if (args.method === 'read_group') {
if (args.method === 'web_read_group') {
assert.deepEqual(args.kwargs.groupby, ['bar'],
'user defined groupby should have precedence on action groupby');
}
@@ -950,9 +950,9 @@ QUnit.test("Dashboard should use correct groupby", async function (assert) {
form.destroy();
});
QUnit.test("Dashboard should use correct groupby when defined as a string of one field", function (assert) {
QUnit.test("Dashboard should use correct groupby when defined as a string of one field", async function (assert) {
assert.expect(1);
var form = createView({
var form = await createView({
View: BoardView,
model: 'board',
data: this.data,