diff --git a/BasicUnitTest/SecurityEventTokenTests.cs b/BasicUnitTest/SecurityEventTokenTests.cs index 9482e14ae2b6a55557a26c34a8f2a0035f624ee7..09fce920c718d9fcd65767072f87152924734748 100644 --- a/BasicUnitTest/SecurityEventTokenTests.cs +++ b/BasicUnitTest/SecurityEventTokenTests.cs @@ -26,7 +26,6 @@ public class SecurityEventTokenTests { _encryption = new FitEncryption(container.Resolve<KeySet>(), null); } - private FitEncryption _encryption = null!; [Test] public void CreateJwt_AcceptSubmission() { @@ -140,7 +139,7 @@ public class SecurityEventTokenTests { var token = _encryption.CreateSecurityEventToken(Guid.NewGuid().ToString(), Guid.NewGuid().ToString(), Guid.NewGuid().ToString(), - + rejectSubmission, new[] { new Problems() { Description = "A real big issue" } } ); Console.WriteLine(token); diff --git a/E2ETest/EndToEndTestBase.cs b/E2ETest/EndToEndTestBase.cs index 1c462b5bc144c42666fb53dfa18a3b6f400f4269..d4bd425041264b583e5895cf9a3288c9e740cb86 100644 --- a/E2ETest/EndToEndTestBase.cs +++ b/E2ETest/EndToEndTestBase.cs @@ -9,8 +9,6 @@ using MockContainer; namespace E2ETest; public abstract class EndToEndTestBase { - protected ISender Sender = null!; - protected ISubscriber Subscriber = null!; protected ILogger Logger = null!; protected ISender Sender = null!; protected MockSettings Settings = null!; diff --git a/FitConnect/FitConnect.csproj b/FitConnect/FitConnect.csproj index cf6820bd9deb4af35c3b271f8f57b0f58f867ab7..c4077619411f1911413c68b3bb5023ffd09bc28a 100644 --- a/FitConnect/FitConnect.csproj +++ b/FitConnect/FitConnect.csproj @@ -27,8 +27,6 @@ <ItemGroup> <None Remove="metadata.schema.json" /> <EmbeddedResource Include="metadata.schema.json" /> - <Compile Remove="Properties\AssemblyInfo.cs" /> - <None Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> diff --git a/FitConnect/Models/SecurityEventToken.cs b/FitConnect/Models/SecurityEventToken.cs index d267ef584fa602626e260584e934e46b12294ab0..94fba7ac5a4a94f5e7b5b6e7ac6243e42c4ba7c8 100644 --- a/FitConnect/Models/SecurityEventToken.cs +++ b/FitConnect/Models/SecurityEventToken.cs @@ -80,7 +80,7 @@ public class SecurityEventToken { if (eventsClaim.Value.Contains( ForwardSubmissionSchema)) return EventType.Forward; - if (eventsClaim.Value.Contains(Reject)) { + if (eventsClaim.Value.Contains( RejectSubmissionSchema)) { Problems = GetProblems(events?.Values?.FirstOrDefault()?.ToString() ?? ""); return EventType.Reject;