Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Repositories.Tests/PatrocinadorEventoMemoryTests.cs @ 287:eeca9ddb330a
BUG: Los Patrocinadores quedaban asociados a un único evento. Se armó un test que lo demuestra y se modificó el modelo de la base de datos.
author | juanjose.montesdeocaarbos |
---|---|
date | Mon, 02 Jan 2012 19:44:41 -0300 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Repositories.Tests/PatrocinadorEventoMemoryTests.cs Mon Jan 02 19:44:41 2012 -0300 @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Agendas.Repositories.Tests.Infraestructure; +using AltNetHispano.Agendas.Repositories.Memory; +using NUnit.Framework; + +namespace Agendas.Repositories.Tests +{ + [TestFixture] + public class PatrocinadorEventoMemoryTests : PatrocinadorEventoTests<MemoryInfraestrutureFactory> + { + [SetUp] + public void BorrarRepositorios() + { + EventoRepository.Clear(); + PersonaRepository.Clear(); + PatrocinadorRepository.Clear(); + } + } +}