telefonicaid / fiware-cosmos

fiware-cosmos toolkit for administration and support. Includes Sahara plugin
GNU Affero General Public License v3.0
11 stars 15 forks source link

feature/132_change_password #136

Closed frbattid closed 8 years ago

frbattid commented 8 years ago
***** STARTING TESTS *****

  ․ [appUtils.buildUsername] build a username from a valid base string should return frb1 when frb is used as base string: 0ms
    [appUtils.buildUsername] build an invalid username from an invalid base string should return null when fiware is used as base string: error: The base username "fiware" is not allowed
  ․ [appUtils.buildUsername] build an invalid username from an invalid base string should return null when fiware is used as base string: 2ms

  2 passing (8ms)

  ․ [mysqlDriver.addUser] add a new user should return null error and an empty result set: 7ms
  ․ [mysqlDriver.addPassword] add a new password should return null error and an empty result set: 2ms
  ․ [mysqlDriver.getUser] get a user by the idm user should return null error and a result set containing frb1: 1ms
  ․ [mysqlDriver.getUserByCosmosUser] get a user by the cosmos user should return null error and a result set containing frb1: 0ms

  4 passing (34ms)

****** TESTS ENDED *******
pcoello25 commented 8 years ago

LGTM