public void TestForUserAuthentication() { User user = new User() { Email = "hverma", Password = "******" }; DBUserAuthenticationServices service = new DBUserAuthenticationServices(); var result = service.AuthenticateUser(user); Assert.IsTrue(result); }
public void TestForChangePassword() { User Buser = new User() { Email = "dverma", Password = "******" }; DBUserAuthenticationServices service = new DBUserAuthenticationServices(); var expectedOutput = service.ChangePassword(Buser, "abcdefgh"); Assert.IsTrue(expectedOutput); }