Skip to content

Commit 81d2f8e

Browse files
authored
Merge pull request #187 from microting/copilot/fix-assert-empty-failure
Fix Assert.Empty() failure in Project_nullable_struct_complex_type_via_optional_navigation test
2 parents 62e24e5 + 77fc0b8 commit 81d2f8e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/EFCore.MySql.FunctionalTests/Query/ComplexTypeQueryMySqlTest.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,12 @@ public override async Task Project_nullable_struct_complex_type_via_optional_nav
11331133
{
11341134
await base.Project_nullable_struct_complex_type_via_optional_navigation(async);
11351135

1136-
AssertSql();
1136+
AssertSql(
1137+
"""
1138+
SELECT `v0`.`ShippingAddress_AddressLine1`, `v0`.`ShippingAddress_AddressLine2`, `v0`.`ShippingAddress_ZipCode`, `v0`.`ShippingAddress_Country_Code`, `v0`.`ShippingAddress_Country_FullName`
1139+
FROM `ValuedCustomerGroup` AS `v`
1140+
LEFT JOIN `ValuedCustomer` AS `v0` ON `v`.`OptionalCustomerId` = `v0`.`Id`
1141+
""");
11371142
}
11381143

11391144
[ConditionalFact]

0 commit comments

Comments
 (0)