From 11f7471d9c1af04cff16ddf6567a98e30295dad2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 25 Nov 2008 17:01:18 +0000 Subject: * Remove direct access to Inventory.Serial --- OpenSim/Data/Tests/BasicRegionTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index e68ec2e..0a10cea 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs @@ -255,7 +255,7 @@ namespace OpenSim.Data.Tests sop.GroupPosition = groupos; sop.RotationOffset = rotoff; sop.CreatorID = creator; - sop.Inventory.Serial = iserial; + sop.InventorySerial = iserial; sop.Inventory.Items = dic; sop.ObjectFlags = objf; sop.Name = name; @@ -287,7 +287,7 @@ namespace OpenSim.Data.Tests Assert.That(rotoff,Is.EqualTo(sop.RotationOffset)); Assert.That(uuid,Is.EqualTo(sop.UUID)); Assert.That(creator,Is.EqualTo(sop.CreatorID)); - Assert.That(iserial,Is.EqualTo(sop.Inventory.Serial)); + Assert.That(iserial,Is.EqualTo(sop.InventorySerial)); Assert.That(dic,Is.EqualTo(sop.Inventory.Items)); Assert.That(objf,Is.EqualTo(sop.ObjectFlags)); Assert.That(name,Is.EqualTo(sop.Name)); -- cgit v1.1