aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
index 297c33c..f2de0af 100644
--- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
@@ -231,6 +231,14 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
231 231
232 int result = (int)InvokeOp("JsonTestPath", storeId, "Hello"); 232 int result = (int)InvokeOp("JsonTestPath", storeId, "Hello");
233 Assert.That(result, Is.EqualTo(1)); 233 Assert.That(result, Is.EqualTo(1));
234
235 int result2 = (int)InvokeOp("JsonTestPath", storeId, "foo");
236 Assert.That(result2, Is.EqualTo(0));
237
238 // Test with fake store
239 UUID fakeStoreId = TestHelpers.ParseTail(0x500);
240 int fakeStoreValueRemove = (int)InvokeOp("JsonTestPath", fakeStoreId, "Hello");
241 Assert.That(fakeStoreValueRemove, Is.EqualTo(0));
234 } 242 }
235 243
236 [Test] 244 [Test]