From cfab5a352cfe87752166042e71a0e4fb4e7ded48 Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 25 Aug 2021 05:29:58 -0400 Subject: [PATCH] Fix qunit test, parse inputs instead of entire form model --- client/tests/qunit/tests/form_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tests/qunit/tests/form_tests.js b/client/tests/qunit/tests/form_tests.js index 1968121230e..4c93ebf86ad 100644 --- a/client/tests/qunit/tests/form_tests.js +++ b/client/tests/qunit/tests/form_tests.js @@ -50,7 +50,7 @@ QUnit.test("form", function (assert) { "Created data correct" ); var mapped_ids = []; - form.data.matchModel(form.model.attributes, function (input, id) { + form.data.matchModel(form.model.get("inputs"), function (input, id) { mapped_ids.push($("#" + id).attr("tour_id")); }); assert.ok(