示例#1
0
        public void Should_Update_Email_Second()
        {
            NotificationEmail notificationEmail = new NotificationEmail(cr, currentEmail, title, content, notificationSettingId, link, key);

            notificationEmail.Update(title, content);
            Assert.Equal(title, notificationEmail.Title);
        }
示例#2
0
        public void Should_Update_Email()
        {
            NotificationEmail notificationEmail = new NotificationEmail(cr, currentEmail, title, content, notificationSettingId, link, key);

            notificationEmail.Update(NotifacationStatus.Send);
            Assert.Equal((int)NotifacationStatus.Send, notificationEmail.NotifacationStatusId);
        }