Skip to content

Commit 528f110

Browse files
committed
Fix broken tests
1 parent 96b1e1a commit 528f110

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Examples/NoEntityFrameworkExample/Data/InMemoryModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ private static void SetEntityProperties(RuntimeEntityType entityType, ResourceTy
1919
{
2020
foreach (PropertyInfo property in resourceType.ClrType.GetProperties())
2121
{
22-
entityType.AddProperty(property.Name, property.PropertyType, property);
22+
entityType.AddProperty(property.Name, property.PropertyType, propertyInfo: property);
2323
}
2424
}
2525
}

test/NoEntityFrameworkTests/PersonTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public async Task Can_select_fields_in_primary_resources()
149149
responseDocument.Data.ManyValue.Should().AllSatisfy(resource => resource.Attributes.ShouldOnlyContainKeys("lastName", "displayName"));
150150
}
151151

152-
[Fact(Skip = "TODO: Investigate why this fails on .NET 8")]
152+
[Fact]
153153
public async Task Can_include_in_primary_resources()
154154
{
155155
// Arrange

test/NoEntityFrameworkTests/TodoItemTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public async Task Can_select_fields_in_primary_resources()
149149
responseDocument.Data.ManyValue.Should().AllSatisfy(resource => resource.Attributes.ShouldOnlyContainKeys("description", "priority"));
150150
}
151151

152-
[Fact(Skip = "TODO: Investigate why this fails on .NET 8")]
152+
[Fact]
153153
public async Task Can_include_in_primary_resources()
154154
{
155155
// Arrange

0 commit comments

Comments
 (0)