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/EstateTests.cs | |
parent | EstateData tests passing on all DBs (diff) | |
download | opensim-SC-749cf0f6eb52ee147b05e120c6763cb8846ce32f.zip opensim-SC-749cf0f6eb52ee147b05e120c6763cb8846ce32f.tar.gz opensim-SC-749cf0f6eb52ee147b05e120c6763cb8846ce32f.tar.bz2 opensim-SC-749cf0f6eb52ee147b05e120c6763cb8846ce32f.tar.xz |
Bugfix in tests (must clear db before migrations, not after)
Diffstat (limited to 'OpenSim/Data/Tests/EstateTests.cs')
-rw-r--r-- | OpenSim/Data/Tests/EstateTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/EstateTests.cs b/OpenSim/Data/Tests/EstateTests.cs index 39ecb89..4893cc7 100644 --- a/OpenSim/Data/Tests/EstateTests.cs +++ b/OpenSim/Data/Tests/EstateTests.cs | |||
@@ -74,9 +74,9 @@ namespace OpenSim.Data.Tests | |||
74 | 74 | ||
75 | protected override void InitService(object service) | 75 | protected override void InitService(object service) |
76 | { | 76 | { |
77 | ClearDB(); | ||
77 | db = (IEstateDataStore)service; | 78 | db = (IEstateDataStore)service; |
78 | db.Initialise(m_connStr); | 79 | db.Initialise(m_connStr); |
79 | ClearDB(); | ||
80 | } | 80 | } |
81 | 81 | ||
82 | private void ClearDB() | 82 | private void ClearDB() |