Exemple #1
0
        public void checkIfLoginValid_InvalidUsername_ReturnsFalse()
        {
            var loginForm = new loginForm();
            var username  = "******";
            var password  = "******";
            var result    = loginForm.checkIfLoginValid(username, password);

            Assert.IsFalse(result);
        }
Exemple #2
0
        public void checkIfLoginValid_ValidUsernameAndPassword_ReturnsTrue()
        {
            var loginForm = new loginForm();
            var username  = "******";
            var password  = "******";
            var result    = loginForm.checkIfLoginValid(username, password);

            Assert.IsTrue(result);
        }