diff Agendas/trunk/src/Agendas.Tests/PersonaServiceTests.cs @ 180:222362c29416

UI para asignaciĆ³n de roles
author nelopauselli
date Mon, 08 Aug 2011 16:42:52 -0300
parents f17252543cbf
children bfd472758bc3
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/PersonaServiceTests.cs	Mon Aug 08 15:24:26 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Tests/PersonaServiceTests.cs	Mon Aug 08 16:42:52 2011 -0300
@@ -66,7 +66,7 @@
             var personaRepository = DefaultPersonaRepository;
 
             var personaService = new PersonaService(personaRepository);
-            var r = personaService.Add("Mariano Pauselli", "marianopauselli", string.Empty, string.Empty);
+			var r = personaService.Add("Mariano Pauselli", "marianopauselli", string.Empty, string.Empty, null);
             Assert.IsTrue(r.Succeful);
 
             var todas = personaService.GetAll();
@@ -81,7 +81,7 @@
             Assert.AreEqual(p1, p2);
             Assert.AreSame(p1, p2);
 
-            personaService.Update(personaId, p1.Nombre, p1.Twitter, "marianopauselli@gmail.com", string.Empty);
+            personaService.Update(personaId, p1.Nombre, p1.Twitter, "marianopauselli@gmail.com", string.Empty,null);
 
             var p3 = personaService.GetById(personaId);
             Assert.IsNotNull(p3);