public void Admin_Pas_Dans_La_Bd() { var requete = from c in context.TherapeuteDBs where c.Administrateur == true select c; var admin = requete.FirstOrDefault(); context.DeleteObject(admin); context.SaveChanges(); Assert.IsFalse(AdminData.AdminInBd()); }
public void Admin_Dans_La_Bd() { Assert.IsTrue(AdminData.AdminInBd()); }