ChessClient.Tests.Controllers.AccountControllerTest.MockMembershipService.ChangePassword C# (CSharp) Method

ChangePassword() public method

public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
userName string
oldPassword string
newPassword string
return bool
            public bool ChangePassword(string userName, string oldPassword, string newPassword)
            {
                return (userName == "someUser" && oldPassword == "goodOldPassword" && newPassword == "goodNewPassword");
            }
AccountControllerTest.MockMembershipService