From 50dcd66896aa9d2f03193fb13ce0e74a8d88726f Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 25 Feb 2009 18:32:39 +0000 Subject: * Fix my own unit test * Disable folder iar creation code for now (though this wasn't actually causing the test failure) --- .../Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests') 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 bool gotObject1File = false; //bool gotObject2File = false; string expectedObject1FilePath = string.Format( - "{0}{1}_{2}.xml", + "{0}{1}{2}_{3}.xml", + InventoryArchiveConstants.INVENTORY_PATH, "Objects/", item1.Name, item1Id); @@ -151,7 +152,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests gotControlFile = true; } */ - if (filePath.StartsWith("Objects/") && filePath.EndsWith(".xml")) + if (filePath.StartsWith(InventoryArchiveConstants.INVENTORY_PATH) && filePath.EndsWith(".xml")) { //string fileName = filePath.Remove(0, "Objects/".Length); -- cgit v1.1