aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Helpers
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-22 00:45:47 +0100
committerJustin Clark-Casey (justincc)2011-10-22 00:45:47 +0100
commitc4f8da735914f9a9b1fb99f05313ba0537b528b9 (patch)
treee69a195051deafd597b3defc81484fbc27ab8013 /OpenSim/Tests/Common/Helpers
parentencode notecard assets in proper format for tests, rather than just using wha... (diff)
downloadopensim-SC-c4f8da735914f9a9b1fb99f05313ba0537b528b9.zip
opensim-SC-c4f8da735914f9a9b1fb99f05313ba0537b528b9.tar.gz
opensim-SC-c4f8da735914f9a9b1fb99f05313ba0537b528b9.tar.bz2
opensim-SC-c4f8da735914f9a9b1fb99f05313ba0537b528b9.tar.xz
in AssetHelpers, store the actual text passed in to the method, not the string "data"
Diffstat (limited to 'OpenSim/Tests/Common/Helpers')
-rw-r--r--OpenSim/Tests/Common/Helpers/AssetHelpers.cs4
1 files changed, 2 insertions, 2 deletions
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
129 /// <summary> 129 /// <summary>
130 /// Create an asset from the given data. 130 /// Create an asset from the given data.
131 /// </summary> 131 /// </summary>
132 public static AssetBase CreateAsset(UUID assetUuid, AssetType assetType, string data, UUID creatorID) 132 public static AssetBase CreateAsset(UUID assetUuid, AssetType assetType, string text, UUID creatorID)
133 { 133 {
134 AssetNotecard anc = new AssetNotecard(); 134 AssetNotecard anc = new AssetNotecard();
135 anc.BodyText = "data"; 135 anc.BodyText = text;
136 anc.Encode(); 136 anc.Encode();
137 137
138 return CreateAsset(assetUuid, assetType, anc.AssetData, creatorID); 138 return CreateAsset(assetUuid, assetType, anc.AssetData, creatorID);