From 633a22fc7c338789bb8cda749a7ee57ed8853b4c Mon Sep 17 00:00:00 2001 From: Thomas Trageser Date: Mon, 3 Sep 2012 12:06:15 +0100 Subject: [PATCH] PreDestroy Test is failing within 3.5 compile --- .../Objects/Factory/Attributes/PreDestroyAttributeTests.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/test/Spring/Spring.Core.Tests/Objects/Factory/Attributes/PreDestroyAttributeTests.cs b/test/Spring/Spring.Core.Tests/Objects/Factory/Attributes/PreDestroyAttributeTests.cs index 436710c9..6e042e4e 100644 --- a/test/Spring/Spring.Core.Tests/Objects/Factory/Attributes/PreDestroyAttributeTests.cs +++ b/test/Spring/Spring.Core.Tests/Objects/Factory/Attributes/PreDestroyAttributeTests.cs @@ -51,7 +51,6 @@ namespace Spring.Objects.Factory.Attributes _applicationContext.ObjectFactory.RegisterObjectDefinition("PreDestroyTestObject3", objDef); objDef = new RootObjectDefinition(typeof(PreDestroyTestObject4)); - objDef.Scope = "prototype"; _applicationContext.ObjectFactory.RegisterObjectDefinition("PreDestroyTestObject4", objDef); objDef = new RootObjectDefinition(typeof(PreDestroyTestObject5));