Fix issue with TestTextureNotFound in previous commit 1e3027a

Stop failure by actually giving the test handler a path instead of null
0.8.0.3
Justin Clark-Casey (justincc) 2014-07-26 01:56:42 +01:00 committed by Justin Clark-Casey
parent 3410b36d76
commit 95f3a9452d
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");