Skip to content
Snippets Groups Projects
Verified Commit fc1418fa authored by Timm Fitschen's avatar Timm Fitschen
Browse files

TST: fix tests

parent bcb70a81
No related branches found
No related tags found
2 merge requests!84Release 0.9,!81F hidden select
Pipeline #29398 passed
......@@ -821,7 +821,7 @@ QUnit.test("_toggle_list_property", async function (assert) {
var val = $(single_input).val();
if (dt == "DATETIME") {
val = $(single_input).find("[type='date']").val() + "T" + $(single_input).find("[type='time']").val();
} else if (["Person", "FILE", "REFERENCE"].indexOf(dt) > -1) {
} else if (["BOOLEAN", "Person", "FILE", "REFERENCE"].indexOf(dt) > -1) {
val = $(single_input).find("select").val();
}
assert.equal(val, data[`LIST<${dt}>`], `single ${dt} input has correct value`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment