Skip to content

Commit

Permalink
Exclude db context method from code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nwarms committed Dec 20, 2024
1 parent 455662e commit 46bd1ba
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Models.Mis_Mstr;
using Microsoft.EntityFrameworkCore;

Expand All @@ -8,7 +9,8 @@ public partial class AcademiesDbContext
public DbSet<EstablishmentFiat> EstablishmentsFiat { get; set; }

public DbSet<FurtherEducationEstablishmentFiat> FurtherEducationEstablishmentsFiat { get; set; }


[ExcludeFromCodeCoverage]
protected static void OnModelCreatingMis_Mstr(ModelBuilder modelBuilder)
{
modelBuilder.Entity<EstablishmentFiat>(entity =>
Expand Down

0 comments on commit 46bd1ba

Please sign in to comment.