diff options
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/Tests/EstateTests.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/Tests/InventoryTests.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/Tests/RegionTests.cs | 2 |
3 files changed, 3 insertions, 3 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() |
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() |
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() |