- Timestamp:
- 07/06/10 16:56:54 (14 years ago)
- Location:
- branches/HeuristicLab.Services.Authentication Prototype
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Services.Authentication Prototype/Service/Provider/HeuristicLabMembershipProvider.cs
r4002 r4003 404 404 405 405 /// <summary> 406 /// Encodes a password 406 /// Encodes a password. 407 /// Public because needed for unit testing. 407 408 /// </summary> 408 409 /// <param name="password"></param> 409 410 /// <returns></returns> 410 p rivatestring EncodePassword(string password) {411 public string EncodePassword(string password) { 411 412 string encodedPassword = password; 412 413 -
branches/HeuristicLab.Services.Authentication Prototype/UnitTests/HeuristicLabMembershipProviderTest.cs
r4002 r4003 434 434 Assert.AreEqual<string>("testname", u.UserName); 435 435 Assert.AreEqual<string>("testemail", u.Email); 436 Assert.AreEqual<string>( "newPassword", u.Password);436 Assert.AreEqual<string>(((HeuristicLabMembershipProvider)target).EncodePassword("newPassword"), u.Password); 437 437 Assert.AreEqual<string>("testquestion", u.PasswordQuestion); 438 438 Assert.AreEqual<string>("testanswer", u.PasswordAnswer);
Note: See TracChangeset
for help on using the changeset viewer.