aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
index ce586be..6658e1e 100644
--- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs
@@ -344,12 +344,14 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
344 InvokeOpOnHost("JsonWriteNotecard", so.UUID, storeId, "/", notecardName); 344 InvokeOpOnHost("JsonWriteNotecard", so.UUID, storeId, "/", notecardName);
345 345
346 // Read notecard 346 // Read notecard
347 UUID receivingStoreId = (UUID)InvokeOp("JsonCreateStore", "{ 'Hello':'World' }"); 347 UUID receivingStoreId = (UUID)InvokeOp("JsonCreateStore", "{ }");
348 UUID readNotecardRequestId = (UUID)InvokeOpOnHost("JsonReadNotecard", so.UUID, receivingStoreId, "/", notecardName); 348 UUID readNotecardRequestId = (UUID)InvokeOpOnHost("JsonReadNotecard", so.UUID, receivingStoreId, "/", notecardName);
349 Assert.That(readNotecardRequestId, Is.Not.EqualTo(UUID.Zero)); 349 Assert.That(readNotecardRequestId, Is.Not.EqualTo(UUID.Zero));
350 350
351 string value = (string)InvokeOp("JsonGetValue", storeId, "Hello"); 351 string value = (string)InvokeOp("JsonGetValue", storeId, "Hello");
352 Assert.That(value, Is.EqualTo("World")); 352 Assert.That(value, Is.EqualTo("World"));
353
354
353 } 355 }
354 356
355 public object DummyTestMethod(object o1, object o2, object o3, object o4, object o5) { return null; } 357 public object DummyTestMethod(object o1, object o2, object o3, object o4, object o5) { return null; }