예제 #1
0
        public void TestErrorUpdateEmail()
        {
            QueryDB queryDB = new QueryDB();
            bool    isUpdateEmail;

            isUpdateEmail = queryDB.UpdateEmail(null, 1);
            Thread.Sleep(2000);
            Assert.IsTrue(isUpdateEmail);
        }
예제 #2
0
        public void TestUpdateEmail()
        {
            QueryDB queryDB = new QueryDB();
            bool    isUpdateEmail;
            int     idAccount = queryDB.ObtainIdAccount("*****@*****.**");

            isUpdateEmail = queryDB.UpdateEmail("*****@*****.**", idAccount);
            Assert.IsTrue(isUpdateEmail);
        }