Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/25/10 17:42:10 (14 years ago)
Author:
hmayr
Message:

following changes (#1046):

  • changed AbstractHeuristicLabTest.cs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Services.Authentication Prototype/UnitTests/HeuristicLabUserTest.cs

    r3943 r3949  
    1919    [TestMethod()]
    2020    public void modifyUserTest() {
    21       checkConnection();
    22 
    2321      // insert new user
    2422      Persistence.HeuristicLabUser user = new HeuristicLabUser("testname", "testemail", "testquestion", "testcomment");
     
    220218      Assert.AreEqual<String>("pwd1", target.GetPassword());
    221219      target.ResetPassword();
    222       Assert.AreEqual<String>("", target.GetPassword());
     220      Assert.AreEqual<String>("INIT", target.GetPassword());
    223221    }
    224222
     
    242240      HeuristicLabUser target = new HeuristicLabUser("testname", "testemail", "testquestion", "testcomment");
    243241      target.PasswordAnswer = "answer";
    244       Assert.AreEqual<String>("", target.GetPassword("answer"));
     242      Assert.AreEqual<String>("INIT", target.GetPassword("answer"));
    245243      target.ChangePassword(target.Password, "pwd1");
    246244      Assert.AreEqual<String>("pwd1", target.GetPassword("answer"));
Note: See TracChangeset for help on using the changeset viewer.