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/InventoryTests.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/InventoryTests.cs')
-rw-r--r-- | OpenSim/Data/Tests/InventoryTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/InventoryTests.cs b/OpenSim/Data/Tests/InventoryTests.cs index 876dcf9..d5f3be4 100644 --- a/OpenSim/Data/Tests/InventoryTests.cs +++ b/OpenSim/Data/Tests/InventoryTests.cs | |||
@@ -88,9 +88,9 @@ namespace OpenSim.Data.Tests | |||
88 | 88 | ||
89 | protected override void InitService(object service) | 89 | protected override void InitService(object service) |
90 | { | 90 | { |
91 | ClearDB(); | ||
91 | db = (IInventoryDataPlugin)service; | 92 | db = (IInventoryDataPlugin)service; |
92 | db.Initialise(m_connStr); | 93 | db.Initialise(m_connStr); |
93 | ClearDB(); | ||
94 | } | 94 | } |
95 | 95 | ||
96 | private void ClearDB() | 96 | private void ClearDB() |