aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/AssetTests.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/Tests/AssetTests.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/AssetTests.cs b/OpenSim/Data/Tests/AssetTests.cs
index d228c1f..d771053 100644
--- a/OpenSim/Data/Tests/AssetTests.cs
+++ b/OpenSim/Data/Tests/AssetTests.cs
@@ -106,10 +106,18 @@ namespace OpenSim.Data.Tests
106 106
107 protected override void InitService(object service) 107 protected override void InitService(object service)
108 { 108 {
109 ClearDB();
109 m_db = (TAssetData)service; 110 m_db = (TAssetData)service;
110 m_db.Initialise(m_connStr); 111 m_db.Initialise(m_connStr);
111 } 112 }
112 113
114 private void ClearDB()
115 {
116 DropTables("assets");
117 ResetMigrations("AssetStore");
118 }
119
120
113 [Test] 121 [Test]
114 public void T001_LoadEmpty() 122 public void T001_LoadEmpty()
115 { 123 {