From 15a87921df9d706ad77b7f1025020ab211392dce Mon Sep 17 00:00:00 2001 From: GFlisch Date: Wed, 7 Feb 2024 00:18:18 +0100 Subject: [PATCH] Fix unit test using ActivityID in the Principal. --- src/Arc4u.Standard.UnitTest/Infrastructure/ContainerFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arc4u.Standard.UnitTest/Infrastructure/ContainerFixture.cs b/src/Arc4u.Standard.UnitTest/Infrastructure/ContainerFixture.cs index 5fd4cf14..f095d5ae 100644 --- a/src/Arc4u.Standard.UnitTest/Infrastructure/ContainerFixture.cs +++ b/src/Arc4u.Standard.UnitTest/Infrastructure/ContainerFixture.cs @@ -67,7 +67,7 @@ public virtual AppPrincipal GetPrincipal() authorization.AllOperations.Add(new Operation { ID = 1, Name = "AccessApplication" }); - return new AppPrincipal(authorization, new GenericIdentity("TestUser"), "S-1-9-5-100") { ActivityID = Guid.NewGuid().ToString() }; + return new AppPrincipal(authorization, new GenericIdentity("TestUser"), "S-1-9-5-100"); }