Bugfix in tests (must clear db before migrations, not after)
parent
f527584ed3
commit
749cf0f6eb
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue