Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Feb 1, 2024
1 parent b82117b commit 74bd2c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
23 changes: 3 additions & 20 deletions src/Blorc.OpenIdConnect.Tests/Extensions/ObjectExtensionsFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,11 @@
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Claims;
using System.Text.Json;
using NUnit.Framework;

[SetUpFixture]
public class SetupTrace
{
[OneTimeSetUp]
public void StartTest()
{
Trace.Listeners.Add(new ConsoleTraceListener());
}

[OneTimeTearDown]
public void EndTest()
{
Trace.Flush();
}
}

[TestFixture]
public class ObjectExtensionsFacts
{
Expand Down Expand Up @@ -162,10 +145,10 @@ public void Collects_Claims_From_Complex_Type()
AccessToken = "1234567890",
Profile = new Profile
{
Roles = new[]
{
Roles =
[
"Administrator", "System Administrator"
},
],
Email = "[email protected]",
EmailVerified = true,
FamilyName = "Doe",
Expand Down
2 changes: 0 additions & 2 deletions src/Blorc.OpenIdConnect.Tests/Models/UserFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,3 @@ public void Can_Deserialize_Aud_Array() {
}
}
}


0 comments on commit 74bd2c1

Please sign in to comment.