Bugfix in tests (must clear db before migrations, not after)

soprefactor
AlexRa 2010-05-17 18:40:25 +03:00
parent f527584ed3
commit 749cf0f6eb
3 changed files with 3 additions and 3 deletions

View File

@ -74,9 +74,9 @@ namespace OpenSim.Data.Tests
protected override void InitService(object service)
{
ClearDB();
db = (IEstateDataStore)service;
db.Initialise(m_connStr);
ClearDB();
}
private void ClearDB()

View File

@ -88,9 +88,9 @@ namespace OpenSim.Data.Tests
protected override void InitService(object service)
{
ClearDB();
db = (IInventoryDataPlugin)service;
db.Initialise(m_connStr);
ClearDB();
}
private void ClearDB()

View File

@ -100,9 +100,9 @@ namespace OpenSim.Data.Tests
protected override void InitService(object service)
{
ClearDB();
db = (IRegionDataStore)service;
db.Initialise(m_connStr);
ClearDB();
}
private void ClearDB()