diff options
author | AlexRa | 2010-05-17 18:40:25 +0300 |
---|---|---|
committer | AlexRa | 2010-05-23 11:47:59 +0300 |
commit | 749cf0f6eb52ee147b05e120c6763cb8846ce32f (patch) | |
tree | 5db7590fa17a956c4857fceabb9d6e026135b21c /OpenSim/Data/Tests/RegionTests.cs | |
parent | EstateData tests passing on all DBs (diff) | |
download | opensim-SC_OLD-749cf0f6eb52ee147b05e120c6763cb8846ce32f.zip opensim-SC_OLD-749cf0f6eb52ee147b05e120c6763cb8846ce32f.tar.gz opensim-SC_OLD-749cf0f6eb52ee147b05e120c6763cb8846ce32f.tar.bz2 opensim-SC_OLD-749cf0f6eb52ee147b05e120c6763cb8846ce32f.tar.xz |
Bugfix in tests (must clear db before migrations, not after)
Diffstat (limited to 'OpenSim/Data/Tests/RegionTests.cs')
-rw-r--r-- | OpenSim/Data/Tests/RegionTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/RegionTests.cs b/OpenSim/Data/Tests/RegionTests.cs index 2451ef0..f38dc4a 100644 --- a/OpenSim/Data/Tests/RegionTests.cs +++ b/OpenSim/Data/Tests/RegionTests.cs | |||
@@ -100,9 +100,9 @@ namespace OpenSim.Data.Tests | |||
100 | 100 | ||
101 | protected override void InitService(object service) | 101 | protected override void InitService(object service) |
102 | { | 102 | { |
103 | ClearDB(); | ||
103 | db = (IRegionDataStore)service; | 104 | db = (IRegionDataStore)service; |
104 | db.Initialise(m_connStr); | 105 | db.Initialise(m_connStr); |
105 | ClearDB(); | ||
106 | } | 106 | } |
107 | 107 | ||
108 | private void ClearDB() | 108 | private void ClearDB() |