diff options
author | Justin Clark-Casey (justincc) | 2014-07-26 01:56:42 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-07-26 01:56:42 +0100 |
commit | 56a623ac0c668e1983cd899a37c15fc6a8d7069c (patch) | |
tree | c68c7e3dbace625b1037639918510f2df4d2279b /OpenSim/Capabilities/Handlers/GetTexture/Tests/GetTextureHandlerTests.cs | |
parent | Temporary stop CAPS service points from being added to stats as this can be a... (diff) | |
download | opensim-SC-56a623ac0c668e1983cd899a37c15fc6a8d7069c.zip opensim-SC-56a623ac0c668e1983cd899a37c15fc6a8d7069c.tar.gz opensim-SC-56a623ac0c668e1983cd899a37c15fc6a8d7069c.tar.bz2 opensim-SC-56a623ac0c668e1983cd899a37c15fc6a8d7069c.tar.xz |
Fix issue with TestTextureNotFound in previous commit 1e3027a
Stop failure by actually giving the test handler a path instead of null
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/Tests/GetTextureHandlerTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/Tests/GetTextureHandlerTests.cs b/OpenSim/Capabilities/Handlers/GetTexture/Tests/GetTextureHandlerTests.cs index 8ffafa4..4f482f6 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/Tests/GetTextureHandlerTests.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/Tests/GetTextureHandlerTests.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Capabilities.Handlers.GetTexture.Tests | |||
52 | // Overkill - we only really need the asset service, not a whole scene. | 52 | // Overkill - we only really need the asset service, not a whole scene. |
53 | Scene scene = new SceneHelpers().SetupScene(); | 53 | Scene scene = new SceneHelpers().SetupScene(); |
54 | 54 | ||
55 | GetTextureHandler handler = new GetTextureHandler(null, scene.AssetService, "TestGetTexture", null, null); | 55 | GetTextureHandler handler = new GetTextureHandler("/gettexture", scene.AssetService, "TestGetTexture", null, null); |
56 | TestOSHttpRequest req = new TestOSHttpRequest(); | 56 | TestOSHttpRequest req = new TestOSHttpRequest(); |
57 | TestOSHttpResponse resp = new TestOSHttpResponse(); | 57 | TestOSHttpResponse resp = new TestOSHttpResponse(); |
58 | req.Url = new Uri("http://localhost/?texture_id=00000000-0000-1111-9999-000000000012"); | 58 | req.Url = new Uri("http://localhost/?texture_id=00000000-0000-1111-9999-000000000012"); |