From bec51f837b631ad94071f4732af5ea3c3e59172d Mon Sep 17 00:00:00 2001 From: dotnetjunkie Date: Fri, 5 Jan 2024 13:53:35 +0100 Subject: [PATCH] Fixed compile error. #966 --- src/SimpleInjector.Tests.Unit/FlowingScopeTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SimpleInjector.Tests.Unit/FlowingScopeTests.cs b/src/SimpleInjector.Tests.Unit/FlowingScopeTests.cs index c954ecb6..c0066c28 100644 --- a/src/SimpleInjector.Tests.Unit/FlowingScopeTests.cs +++ b/src/SimpleInjector.Tests.Unit/FlowingScopeTests.cs @@ -418,8 +418,8 @@ public class ResolvingFromScopesInCtor where TService : class public ResolvingFromScopesInCtor(Container container) { - var scope1 = new Scope(container) { Name = "Scope1" }; - var scope2 = new Scope(container) { Name = "Scope2" }; + var scope1 = new Scope(container); + var scope2 = new Scope(container); this.Service1 = scope1.GetInstance(); this.Service2 = scope2.GetInstance();