Skip to content

Commit d21977d

Browse files
authored
Enable test accessing Component's Parent property in LINQ (#3024)
1 parent a3635db commit d21977d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/NHibernate.Test/Async/NHSpecificTest/GH1583/Fixture.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,9 @@ protected override HbmMapping GetMappings()
5454
}
5555

5656
[Test]
57-
[KnownBug("GH-1583")]
5857
public async Task QueryForPropertyOfParentInComponentAsync()
5958
{
6059
using (var session = OpenSession())
61-
using (session.BeginTransaction())
6260
{
6361
var result = await ((from p in session.Query<Parent>().SelectMany(x => x.Children)
6462
select p.ParentLink.ParentId).ToListAsync());

src/NHibernate.Test/NHSpecificTest/GH1583/Fixture.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@ protected override HbmMapping GetMappings()
5252
}
5353

5454
[Test]
55-
[KnownBug("GH-1583")]
5655
public void QueryForPropertyOfParentInComponent()
5756
{
5857
using (var session = OpenSession())
59-
using (session.BeginTransaction())
6058
{
6159
var result = (from p in session.Query<Parent>().SelectMany(x => x.Children)
6260
select p.ParentLink.ParentId).ToList();

0 commit comments

Comments
 (0)