diff --git a/curriculum/challenges/chinese/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.chinese.md b/curriculum/challenges/chinese/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.chinese.md index 60b3b1f858..86ca4f55ca 100644 --- a/curriculum/challenges/chinese/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.chinese.md +++ b/curriculum/challenges/chinese/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.chinese.md @@ -18,7 +18,7 @@ localeTitle: 了解BCrypt Hashes ```yml tests: - - text: BCyrpt是一个依赖 + - text: BCrypt是一个依赖 testString: 'getUserInput => $.get(getUserInput("url")+ "/_api/package.json") .then(data => { var packJson = JSON.parse(data); assert.property(packJson.dependencies, "bcrypt", "Your project should list "bcrypt" as a dependency"); }, xhr => { throw new Error(xhr.statusText); })' - text: 已经适当地要求BCrypt testString: 'getUserInput => $.get(getUserInput("url")+ "/_api/server.js").then(data => {assert.match(data, /bcrypt.*=.*require.*("|")bcrypt("|")/gi, "You should correctly require and instantiate socket.io as io.");}, xhr => { throw new Error(xhr.statusText); })' diff --git a/curriculum/challenges/english/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.english.md b/curriculum/challenges/english/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.english.md index fc2adb36c8..db8eb09475 100644 --- a/curriculum/challenges/english/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.english.md +++ b/curriculum/challenges/english/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.english.md @@ -23,7 +23,7 @@ Submit your page when you think you've got it right. ```yml tests: - - text: BCyrpt is a dependency + - text: BCrypt is a dependency testString: getUserInput => $.get(getUserInput('url')+ '/_api/package.json') .then(data => { var packJson = JSON.parse(data); assert.property(packJson.dependencies, 'bcrypt', 'Your project should list "bcrypt" as a dependency'); }, xhr => { throw new Error(xhr.statusText); }) - text: BCrypt has been properly required testString: getUserInput => $.get(getUserInput('url')+ '/_api/server.js').then(data => {assert.match(data, /bcrypt.*=.*require.*('|")bcrypt('|")/gi, 'You should correctly require and instantiate socket.io as io.');}, xhr => { throw new Error(xhr.statusText); }) diff --git a/curriculum/challenges/portuguese/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.portuguese.md b/curriculum/challenges/portuguese/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.portuguese.md index 79b6159f31..ad65b345a3 100644 --- a/curriculum/challenges/portuguese/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.portuguese.md +++ b/curriculum/challenges/portuguese/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.portuguese.md @@ -18,7 +18,7 @@ localeTitle: Entenda os Hashes do BCrypt ```yml tests: - - text: BCyrpt é uma dependência + - text: BCrypt é uma dependência testString: 'getUserInput => $.get(getUserInput("url")+ "/_api/package.json") .then(data => { var packJson = JSON.parse(data); assert.property(packJson.dependencies, "bcrypt", "Your project should list "bcrypt" as a dependency"); }, xhr => { throw new Error(xhr.statusText); })' - text: O BCrypt foi devidamente requerido testString: 'getUserInput => $.get(getUserInput("url")+ "/_api/server.js").then(data => {assert.match(data, /bcrypt.*=.*require.*("|")bcrypt("|")/gi, "You should correctly require and instantiate socket.io as io.");}, xhr => { throw new Error(xhr.statusText); })' diff --git a/curriculum/challenges/spanish/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.spanish.md b/curriculum/challenges/spanish/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.spanish.md index c06cbc526f..5bc7cbcd42 100644 --- a/curriculum/challenges/spanish/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.spanish.md +++ b/curriculum/challenges/spanish/06-information-security-and-quality-assurance/information-security-with-helmetjs/understand-bcrypt-hashes.spanish.md @@ -18,7 +18,7 @@ localeTitle: Comprender Hashes de Egipto ```yml tests: - - text: BCyrpt es una dependencia + - text: BCrypt es una dependencia testString: 'getUserInput => $.get(getUserInput("url")+ "/_api/package.json") .then(data => { var packJson = JSON.parse(data); assert.property(packJson.dependencies, "bcrypt", "Your project should list "bcrypt" as a dependency"); }, xhr => { throw new Error(xhr.statusText); })' - text: BCrypt ha sido correctamente requerido testString: 'getUserInput => $.get(getUserInput("url")+ "/_api/server.js").then(data => {assert.match(data, /bcrypt.*=.*require.*("|")bcrypt("|")/gi, "You should correctly require and instantiate socket.io as io.");}, xhr => { throw new Error(xhr.statusText); })'