aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r--OpenSim/Tests/Common/Setup/AssetHelpers.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Tests/Common/Setup/AssetHelpers.cs b/OpenSim/Tests/Common/Setup/AssetHelpers.cs
index 1beafcf..6dc993f 100644
--- a/OpenSim/Tests/Common/Setup/AssetHelpers.cs
+++ b/OpenSim/Tests/Common/Setup/AssetHelpers.cs
@@ -61,9 +61,11 @@ namespace OpenSim.Tests.Common
61 /// <returns></returns> 61 /// <returns></returns>
62 public static AssetBase CreateAsset(UUID assetUuid, SceneObjectGroup sog) 62 public static AssetBase CreateAsset(UUID assetUuid, SceneObjectGroup sog)
63 { 63 {
64 AssetBase asset = new AssetBase(assetUuid, assetUuid.ToString(), (sbyte)AssetType.Object, sog.OwnerID.ToString()); 64 return CreateAsset(
65 asset.Data = Encoding.ASCII.GetBytes(SceneObjectSerializer.ToXml2Format(sog)); 65 assetUuid,
66 return asset; 66 AssetType.Object,
67 Encoding.ASCII.GetBytes(SceneObjectSerializer.ToXml2Format(sog)),
68 sog.OwnerID);
67 } 69 }
68 } 70 }
69} 71}