diff options
author | Justin Clark-Casey (justincc) | 2012-01-12 23:46:43 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-12 23:46:43 +0000 |
commit | 47377f17c626515747f507014301c6c101791014 (patch) | |
tree | 582d0bb10b554ef41a3e6015a787af07d418b72b | |
parent | Add api level test for removing an owned npc (diff) | |
download | opensim-SC_OLD-47377f17c626515747f507014301c6c101791014.zip opensim-SC_OLD-47377f17c626515747f507014301c6c101791014.tar.gz opensim-SC_OLD-47377f17c626515747f507014301c6c101791014.tar.bz2 opensim-SC_OLD-47377f17c626515747f507014301c6c101791014.tar.xz |
Add missing assert to confirm owner delete succeeded to the end of TestOsNpcRemoveOwned()
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs index f0b28b2..9d9fc51 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | |||
@@ -127,6 +127,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
127 | 127 | ||
128 | npc = m_scene.GetScenePresence(npcId); | 128 | npc = m_scene.GetScenePresence(npcId); |
129 | 129 | ||
130 | // Now the owner deleted it and it's gone | ||
131 | Assert.That(npc, Is.Null); | ||
130 | } | 132 | } |
131 | 133 | ||
132 | /// <summary> | 134 | /// <summary> |