From c4f8da735914f9a9b1fb99f05313ba0537b528b9 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 22 Oct 2011 00:45:47 +0100 Subject: in AssetHelpers, store the actual text passed in to the method, not the string "data" --- OpenSim/Tests/Common/Helpers/AssetHelpers.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Tests') diff --git a/OpenSim/Tests/Common/Helpers/AssetHelpers.cs b/OpenSim/Tests/Common/Helpers/AssetHelpers.cs index aecd77e..94d3629 100644 --- a/OpenSim/Tests/Common/Helpers/AssetHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/AssetHelpers.cs @@ -129,10 +129,10 @@ namespace OpenSim.Tests.Common /// /// Create an asset from the given data. /// - public static AssetBase CreateAsset(UUID assetUuid, AssetType assetType, string data, UUID creatorID) + public static AssetBase CreateAsset(UUID assetUuid, AssetType assetType, string text, UUID creatorID) { AssetNotecard anc = new AssetNotecard(); - anc.BodyText = "data"; + anc.BodyText = text; anc.Encode(); return CreateAsset(assetUuid, assetType, anc.AssetData, creatorID); -- cgit v1.1