diff options
author | Justin Clark-Casey (justincc) | 2011-10-22 00:45:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-22 00:45:47 +0100 |
commit | c4f8da735914f9a9b1fb99f05313ba0537b528b9 (patch) | |
tree | e69a195051deafd597b3defc81484fbc27ab8013 | |
parent | encode notecard assets in proper format for tests, rather than just using wha... (diff) | |
download | opensim-SC_OLD-c4f8da735914f9a9b1fb99f05313ba0537b528b9.zip opensim-SC_OLD-c4f8da735914f9a9b1fb99f05313ba0537b528b9.tar.gz opensim-SC_OLD-c4f8da735914f9a9b1fb99f05313ba0537b528b9.tar.bz2 opensim-SC_OLD-c4f8da735914f9a9b1fb99f05313ba0537b528b9.tar.xz |
in AssetHelpers, store the actual text passed in to the method, not the string "data"
-rw-r--r-- | OpenSim/Tests/Common/Helpers/AssetHelpers.cs | 4 |
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); |