Skip to content

Commit

Permalink
enable test for #16093
Browse files Browse the repository at this point in the history
  • Loading branch information
maumar committed Nov 5, 2019
1 parent 37f0135 commit 9c3b2af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3124,7 +3124,7 @@ join l2 in ss.Set<Level2>() on l1.Id equals ss.Set<Level2>().Select(l => l.Id).O
});
}

[ConditionalTheory(Skip = " Issue#16093")]
[ConditionalTheory]
[MemberData(nameof(IsAsyncData))]
public virtual Task Contains_with_subquery_optional_navigation_and_constant_item(bool isAsync)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2299,13 +2299,16 @@ public override async Task Contains_with_subquery_optional_navigation_and_consta
await base.Contains_with_subquery_optional_navigation_and_constant_item(isAsync);

AssertSql(
@"SELECT [l1].[Id], [l1].[Date], [l1].[Name], [l1].[OneToMany_Optional_Self_Inverse1Id], [l1].[OneToMany_Required_Self_Inverse1Id], [l1].[OneToOne_Optional_Self1Id]
FROM [LevelOne] AS [l1]
LEFT JOIN [LevelTwo] AS [l1.OneToOne_Optional_FK1] ON [l1].[Id] = [l1.OneToOne_Optional_FK1].[Level1_Optional_Id]
@"SELECT [l].[Id], [l].[Date], [l].[Name], [l].[OneToMany_Optional_Self_Inverse1Id], [l].[OneToMany_Required_Self_Inverse1Id], [l].[OneToOne_Optional_Self1Id]
FROM [LevelOne] AS [l]
LEFT JOIN [LevelTwo] AS [l0] ON [l].[Id] = [l0].[Level1_Optional_Id]
WHERE 1 IN (
SELECT DISTINCT [l].[Id]
FROM [LevelThree] AS [l]
WHERE [l1.OneToOne_Optional_FK1].[Id] = [l].[OneToMany_Optional_Inverse3Id]
SELECT [t].[Id]
FROM (
SELECT DISTINCT [l1].[Id], [l1].[Level2_Optional_Id], [l1].[Level2_Required_Id], [l1].[Name], [l1].[OneToMany_Optional_Inverse3Id], [l1].[OneToMany_Optional_Self_Inverse3Id], [l1].[OneToMany_Required_Inverse3Id], [l1].[OneToMany_Required_Self_Inverse3Id], [l1].[OneToOne_Optional_PK_Inverse3Id], [l1].[OneToOne_Optional_Self3Id]
FROM [LevelThree] AS [l1]
WHERE [l0].[Id] IS NOT NULL AND ([l0].[Id] = [l1].[OneToMany_Optional_Inverse3Id])
) AS [t]
)");
}

Expand Down

0 comments on commit 9c3b2af

Please sign in to comment.