Merge branch 'master' into feature/validation_tooltips

This commit is contained in:
kyle
2017-11-10 18:40:14 -08:00
committed by GitHub
9 changed files with 67 additions and 48 deletions

View File

@@ -700,6 +700,14 @@ describe("utils", function() {
}
assertValidateParam(param, ["Required field is not provided"])
// valid integer, but 0 is falsy in JS
param = {
required: true,
type: "integer",
value: 0
}
assertValidateParam(param, [])
// valid integer
param = {
required: true,