Skip to content

Commit

Permalink
Exclude WebApplicationExtensions from code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
SandGrainOne committed Oct 17, 2024
1 parent c269465 commit abdaaad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using Altinn.Profile.Integrations.Persistence;
using System.Diagnostics.CodeAnalysis;

using Altinn.Profile.Integrations.Persistence;

using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
Expand All @@ -11,6 +13,7 @@ namespace Altinn.Profile.Integrations.Extensions;
/// <summary>
/// Extension class for web application
/// </summary>
[ExcludeFromCodeCoverage]
public static class WebApplicationExtensions
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ConsoleTraceService : ITraceService

/// <summary>
/// Info
/// </summary>
/// </summary>
public void Info(string message, object? payload = null)
{
var traceMessage = $"INF {DateTime.UtcNow:o} {message}{Environment.NewLine}";
Expand Down

0 comments on commit abdaaad

Please sign in to comment.