aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicAssetTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Tests/BasicAssetTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicAssetTest.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Data/Tests/BasicAssetTest.cs b/OpenSim/Data/Tests/BasicAssetTest.cs
index 25aed61..e80cff9 100644
--- a/OpenSim/Data/Tests/BasicAssetTest.cs
+++ b/OpenSim/Data/Tests/BasicAssetTest.cs
@@ -66,9 +66,9 @@ namespace OpenSim.Data.Tests
66 [Test] 66 [Test]
67 public void T010_StoreSimpleAsset() 67 public void T010_StoreSimpleAsset()
68 { 68 {
69 AssetBase a1 = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture); 69 AssetBase a1 = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture, UUID.Zero.ToString());
70 AssetBase a2 = new AssetBase(uuid2, "asset two", (sbyte)AssetType.Texture); 70 AssetBase a2 = new AssetBase(uuid2, "asset two", (sbyte)AssetType.Texture, UUID.Zero.ToString());
71 AssetBase a3 = new AssetBase(uuid3, "asset three", (sbyte)AssetType.Texture); 71 AssetBase a3 = new AssetBase(uuid3, "asset three", (sbyte)AssetType.Texture, UUID.Zero.ToString());
72 a1.Data = asset1; 72 a1.Data = asset1;
73 a2.Data = asset1; 73 a2.Data = asset1;
74 a3.Data = asset1; 74 a3.Data = asset1;
@@ -78,12 +78,15 @@ namespace OpenSim.Data.Tests
78 .DontScramble(x => x.ID) 78 .DontScramble(x => x.ID)
79 .DontScramble(x => x.FullID) 79 .DontScramble(x => x.FullID)
80 .DontScramble(x => x.Metadata.ID) 80 .DontScramble(x => x.Metadata.ID)
81 .DontScramble(x => x.Metadata.CreatorID)
82 .DontScramble(x => x.Metadata.ContentType)
81 .DontScramble(x => x.Metadata.FullID); 83 .DontScramble(x => x.Metadata.FullID);
82 84
83 scrambler.Scramble(a1); 85 scrambler.Scramble(a1);
84 scrambler.Scramble(a2); 86 scrambler.Scramble(a2);
85 scrambler.Scramble(a3); 87 scrambler.Scramble(a3);
86 88
89
87 db.StoreAsset(a1); 90 db.StoreAsset(a1);
88 db.StoreAsset(a2); 91 db.StoreAsset(a2);
89 db.StoreAsset(a3); 92 db.StoreAsset(a3);