Fix qunit test, parse inputs instead of entire form model

This commit is contained in:
guerler
2021-08-25 05:29:58 -04:00
parent f7eefdf36a
commit cfab5a352c
+1 -1
View File
@@ -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(