|
|
@ -1307,7 +1307,7 @@ describe('yii.validation', function () { |
|
|
|
|
|
|
|
|
|
|
|
describe('captcha validator', function () { |
|
|
|
describe('captcha validator', function () { |
|
|
|
// Converted using yii\captcha\CaptchaAction generateValidationHash() method
|
|
|
|
// Converted using yii\captcha\CaptchaAction generateValidationHash() method
|
|
|
|
var hashes = {'Code': 379, 'code': 411}; |
|
|
|
var hashes = {'Code': 1497, 'code': 1529}; |
|
|
|
var caseInSensitiveData = { |
|
|
|
var caseInSensitiveData = { |
|
|
|
'valid code in lowercase': ['code', true], |
|
|
|
'valid code in lowercase': ['code', true], |
|
|
|
'valid code in uppercase': ['CODE', true], |
|
|
|
'valid code in uppercase': ['CODE', true], |
|
|
|