diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs index dafce81..cb613f7 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | |||
@@ -128,7 +128,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
128 | bool gotObject1File = false; | 128 | bool gotObject1File = false; |
129 | //bool gotObject2File = false; | 129 | //bool gotObject2File = false; |
130 | string expectedObject1FilePath = string.Format( | 130 | string expectedObject1FilePath = string.Format( |
131 | "{0}{1}_{2}.xml", | 131 | "{0}{1}{2}_{3}.xml", |
132 | InventoryArchiveConstants.INVENTORY_PATH, | ||
132 | "Objects/", | 133 | "Objects/", |
133 | item1.Name, | 134 | item1.Name, |
134 | item1Id); | 135 | item1Id); |
@@ -151,7 +152,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
151 | gotControlFile = true; | 152 | gotControlFile = true; |
152 | } | 153 | } |
153 | */ | 154 | */ |
154 | if (filePath.StartsWith("Objects/") && filePath.EndsWith(".xml")) | 155 | if (filePath.StartsWith(InventoryArchiveConstants.INVENTORY_PATH) && filePath.EndsWith(".xml")) |
155 | { | 156 | { |
156 | //string fileName = filePath.Remove(0, "Objects/".Length); | 157 | //string fileName = filePath.Remove(0, "Objects/".Length); |
157 | 158 | ||