Fix issue with TestTextureNotFound in previous commit 1e3027a

Stop failure by actually giving the test handler a path instead of null
bullet-2.82
Justin Clark-Casey (justincc) 2014-07-26 01:56:42 +01:00
parent 1e3027afb1
commit 56a623ac0c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ namespace OpenSim.Capabilities.Handlers.GetTexture.Tests
// Overkill - we only really need the asset service, not a whole scene.
Scene scene = new SceneHelpers().SetupScene();
GetTextureHandler handler = new GetTextureHandler(null, scene.AssetService, "TestGetTexture", null, null);
GetTextureHandler handler = new GetTextureHandler("/gettexture", scene.AssetService, "TestGetTexture", null, null);
TestOSHttpRequest req = new TestOSHttpRequest();
TestOSHttpResponse resp = new TestOSHttpResponse();
req.Url = new Uri("http://localhost/?texture_id=00000000-0000-1111-9999-000000000012");