Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Tests/Workflows/Workflow.cs @ 145:e6e6bfb1da9e
En la edición de un evento (nuevo, propuesta, modificación), el ponente se selecciona desde un combo.
author | Nelo@Guinea.neluz.int |
---|---|
date | Mon, 01 Aug 2011 11:42:24 -0300 |
parents | 62791999ad01 |
children | c1062de96845 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/Workflows/Workflow.cs Mon Aug 01 10:25:23 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Tests/Workflows/Workflow.cs Mon Aug 01 11:42:24 2011 -0300 @@ -17,14 +17,14 @@ public void Proponer() { - var resultado = _agenda.Proponer("SOLID", "Jorge", null, TipoEvento.Van); + var resultado = _agenda.Proponer("SOLID", TestsHelper.GetOrCreatePonente("Jorge"), null, TipoEvento.Van); Assert.IsTrue(resultado.Succeful); } public void Agendar() { - var resultado = _agenda.Agendar("SOLID", "Jorge", DateTime.Today.AddDays(5), null, TipoEvento.Van); + var resultado = _agenda.Agendar("SOLID", TestsHelper.GetOrCreatePonente("Jorge"), DateTime.Today.AddDays(5), null, TipoEvento.Van); Assert.IsTrue(resultado.Succeful); }