diff --git a/js/server/tests/aql/aql-functions-string.js b/js/server/tests/aql/aql-functions-string.js index 9336994c4d..2e8a80baab 100644 --- a/js/server/tests/aql/aql-functions-string.js +++ b/js/server/tests/aql/aql-functions-string.js @@ -640,7 +640,7 @@ function ahuacatlStringFunctionsTestSuite () { ["th1s1s-wayt00_l0ngt0beausername", "^[a-z0-9_-]{3,16}$", false, null ], ["myp4ssw0rd", "^[a-z0-9_-]{6,18}$", true, ["myp4ssw0rd"] ], ["myp4ssw0rd", "^[a-z0-9_-]{6,18}$", false, ["myp4ssw0rd"] ], - ["myP4ssw0rD", "^[a-z0-9_-]{6,18}$", true, ["myp4ssw0rd"] ], + ["myP4ssw0rD", "^[a-z0-9_-]{6,18}$", true, ["myP4ssw0rD"] ], ["myP4ssw0rD", "^[a-z0-9_-]{6,18}$", false, null ], ["mypa$$w0rd", "^[a-z0-9_-]{6,18}$", true, null ], ["mypa$$w0rd", "^[a-z0-9_-]{6,18}$", false, null ], @@ -651,7 +651,7 @@ function ahuacatlStringFunctionsTestSuite () { ["my-title-here", "^[a-z0-9-]+$", true, ["my-title-here"] ], ["my-title-here", "^[a-z0-9-]+$", false, ["my-title-here"] ], ["my-Title-Here", "^[a-z0-9-]+$", true, ["my-Title-Here"] ], - ["my-Title-Here", "^[a-z0-9-]+$", true, null ], + ["my-Title-Here", "^[a-z0-9-]+$", false, null ], ["john@doe.com", "^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$", true, ["john@doe.com", "john", "doe.", "om"] ], ["john@doe.com", "^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$", false, ["john@doe.com", "john", "doe.", "om"] ], ["jOhn@doe.com", "^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$", true, ["jOhn@doe.com", "jOhn", "doe.", "om"] ],