diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs index f2de0af..73bc955 100644 --- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs +++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/Tests/JsonStoreScriptModuleTests.cs | |||
@@ -254,6 +254,11 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests | |||
254 | 254 | ||
255 | string value = (string)InvokeOp("JsonGetValue", storeId, "Fun"); | 255 | string value = (string)InvokeOp("JsonGetValue", storeId, "Fun"); |
256 | Assert.That(value, Is.EqualTo("Times")); | 256 | Assert.That(value, Is.EqualTo("Times")); |
257 | |||
258 | // Test with fake store | ||
259 | UUID fakeStoreId = TestHelpers.ParseTail(0x500); | ||
260 | int fakeStoreValueSet = (int)InvokeOp("JsonSetValue", fakeStoreId, "Hello", "World"); | ||
261 | Assert.That(fakeStoreValueSet, Is.EqualTo(0)); | ||
257 | } | 262 | } |
258 | 263 | ||
259 | /// <summary> | 264 | /// <summary> |