Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
glucaci committed Oct 2, 2023
1 parent 1e36d90 commit 01d1776
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Context.AllowedTypes.Tests/Helpers/TestHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public static object GetTypeObjectSerializerContent()
AllowedTypesByNamespaces = TypeObjectSerializer.AllowedTypesByNamespaces
.OrderBy(x => x),
AllowedTypesByDependencies = TypeObjectSerializer.AllowedTypesByDependencies
.OrderBy(x => x)
.Except(new[] { "Coverlet" })
.OrderBy(x => x)
};
}
}
8 changes: 5 additions & 3 deletions src/Context.Tests/Internal/DependencyTypesResolverTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ public void GetAllowedTypesByDependencies_All_Successful()
// Arrange

// Act
IEnumerable<string> knownNamespaces =
DependencyTypesResolver.GetAllowedTypesByDependencies();
IEnumerable<string> knownNamespaces = DependencyTypesResolver
.GetAllowedTypesByDependencies()
.Except(new[] { "Coverlet" })
.OrderBy(x => x);

// Assert
Snapshot.Match(knownNamespaces.OrderBy(x => x));
Snapshot.Match(knownNamespaces);
}
}

0 comments on commit 01d1776

Please sign in to comment.