diff Agendas/trunk/src/Agendas.Repositories.Tests/Infraestructure/NhHelperTest.cs @ 282:bc8dfbde0523

#123: Patrocinadores de las vans: Se verifica que para publicar una Van, debe tener al menos un Patrocinador.
author juanjose.montesdeocaarbos
date Mon, 26 Dec 2011 14:21:44 -0300
parents 72a96459f910
children eeca9ddb330a
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Repositories.Tests/Infraestructure/NhHelperTest.cs	Mon Dec 26 13:48:21 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Repositories.Tests/Infraestructure/NhHelperTest.cs	Mon Dec 26 14:21:44 2011 -0300
@@ -10,9 +10,9 @@
 
 			var session = sf.OpenStatelessSession();
 			session.CreateSQLQuery("DELETE FROM Ponentes").ExecuteUpdate();
+			session.CreateSQLQuery("DELETE FROM Patrocinador").ExecuteUpdate();
 			session.CreateSQLQuery("DELETE FROM Evento").ExecuteUpdate();
 			session.CreateSQLQuery("DELETE FROM Persona").ExecuteUpdate();
-			session.CreateSQLQuery("DELETE FROM Patrocinador").ExecuteUpdate();
 		}
 	}
 }
\ No newline at end of file