public void Add_Account_Invite() { var db = new DatabaseRepository("VictoriousEntities"); AccountInviteModel invite = new AccountInviteModel() { DateCreated = DateTime.Now, DateExpires = DateTime.Now.AddDays(1), IsExpired = false, AccountInviteCode = "10000", SentToEmail = "*****@*****.**", SentByID = 1 }; var result = db.AddAccountInvite(invite); Assert.AreEqual(DbError.SUCCESS, result); }