# HG changeset patch # User juanjose.montesdeocaarbos # Date 1317811290 10800 # Node ID 01a9b47185eb817af4a276e13fb0ccf21b54394e # Parent 717fce60f20029f413bd51703270b1558d00a563 Tests de Twitter, daban en rojo por mensaje fijo (01/10/2011). diff -r 717fce60f200 -r 01a9b47185eb Agendas/trunk/src/Agendas.Twitter.Tests/Publicador_tests.cs --- a/Agendas/trunk/src/Agendas.Twitter.Tests/Publicador_tests.cs Wed Oct 05 07:31:35 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Twitter.Tests/Publicador_tests.cs Wed Oct 05 07:41:30 2011 -0300 @@ -96,7 +96,7 @@ Assert.That(joined, Is.StringContaining("@nelopauselli")); Assert.AreEqual(2, twitters.Count()); - Assert.AreEqual("Se ha agendando el evento Identity Providers Públicos y Empresariales con @carlospeix y @nelopauselli para el 01/10/2011...", twitters.First()); + Assert.AreEqual(string.Format("Se ha agendando el evento Identity Providers Públicos y Empresariales con @carlospeix y @nelopauselli para el {0}...", inicio.ToString("dd/MM/yyyy")), twitters.First()); Assert.AreEqual("...por http://snipr.com/virtualaltnet", twitters.Last()); adapter.Verify(a => a.Update(It.IsAny(), out message), Times.Exactly(2)); @@ -127,7 +127,7 @@ Assert.LessOrEqual(twitter.Length, 140); joined += twitter; } - Assert.AreEqual("Se ha agendando el evento Identity Providers Públicos y Empresariales para el 01/10/2011 por http://snipr.com/virtualaltnet", joined); + Assert.AreEqual(string.Format("Se ha agendando el evento Identity Providers Públicos y Empresariales para el {0} por http://snipr.com/virtualaltnet", inicio.ToString("dd/MM/yyyy")), joined); adapter.Verify(a => a.Update(It.IsAny(), out message), Times.Once()); diff -r 717fce60f200 -r 01a9b47185eb Agendas/trunk/src/Agendas.Web.Tests/packages.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web.Tests/packages.config Wed Oct 05 07:41:30 2011 -0300 @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file