From 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 May 2019 21:24:15 +1000 Subject: Dump OpenSim 0.9.0.1 into it's own branch. --- .../Handlers/Asset/Tests/AssetServerPostHandlerTests.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Server/Handlers/Asset/Tests/AssetServerPostHandlerTests.cs') diff --git a/OpenSim/Server/Handlers/Asset/Tests/AssetServerPostHandlerTests.cs b/OpenSim/Server/Handlers/Asset/Tests/AssetServerPostHandlerTests.cs index faa6fb7..4d2228a 100644 --- a/OpenSim/Server/Handlers/Asset/Tests/AssetServerPostHandlerTests.cs +++ b/OpenSim/Server/Handlers/Asset/Tests/AssetServerPostHandlerTests.cs @@ -52,8 +52,8 @@ namespace OpenSim.Server.Handlers.Asset.Test UUID assetId = TestHelpers.ParseTail(0x1); - IConfigSource config = new IniConfigSource(); - config.AddConfig("AssetService"); + IConfigSource config = new IniConfigSource(); + config.AddConfig("AssetService"); config.Configs["AssetService"].Set("StorageProvider", "OpenSim.Tests.Common.dll"); AssetService assetService = new AssetService(config); @@ -72,7 +72,7 @@ namespace OpenSim.Server.Handlers.Asset.Test XmlSerializer serializer = new XmlSerializer(typeof(AssetBase)); serializer.Serialize(writer, asset); writer.Flush(); - } + } buffer.Position = 0; asph.Handle(null, buffer, null, null); @@ -87,13 +87,13 @@ namespace OpenSim.Server.Handlers.Asset.Test { TestHelpers.InMethod(); - IConfigSource config = new IniConfigSource(); - config.AddConfig("AssetService"); + IConfigSource config = new IniConfigSource(); + config.AddConfig("AssetService"); config.Configs["AssetService"].Set("StorageProvider", "OpenSim.Tests.Common.dll"); AssetService assetService = new AssetService(config); - AssetServerPostHandler asph = new AssetServerPostHandler(assetService); + AssetServerPostHandler asph = new AssetServerPostHandler(assetService); MemoryStream buffer = new MemoryStream(); byte[] badData = new byte[] { 0x48, 0x65, 0x6c, 0x6c, 0x6f }; -- cgit v1.1