Skip to content

Commit 438175b

Browse files
Generate async files
1 parent 396a962 commit 438175b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/NHibernate.Test/Async/NHSpecificTest/GH1994/ManyToManyFilteredFixture.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
using System.Linq;
1212
using NHibernate.Criterion;
13-
using NHibernate.Dialect;
1413
using NHibernate.Linq;
1514
using NHibernate.SqlCommand;
1615
using NHibernate.Transform;
@@ -41,14 +40,7 @@ protected override void OnTearDown()
4140
using (var session = OpenSession())
4241
using (var transaction = session.BeginTransaction())
4342
{
44-
// The HQL delete does all the job inside the database without loading the entities, but it does
45-
// not handle delete order for avoiding violating constraints if any. Use
46-
// session.Delete("from System.Object");
47-
// instead if in need of having NHibernate ordering the deletes, but this will cause
48-
// loading the entities in the session.
49-
5043
session.Delete("from System.Object");
51-
5244
transaction.Commit();
5345
}
5446
}
@@ -70,9 +62,6 @@ public async Task TestUnfilteredLinqQueryAsync()
7062
[Test]
7163
public async Task TestFilteredByWhereCollectionLinqQueryAsync()
7264
{
73-
if(Dialect is PostgreSQLDialect)
74-
Assert.Ignore("Dialect doesn't support 0/1 to bool implicit cast");
75-
7665
using (var s = OpenSession())
7766
{
7867
var query = await (s.Query<Asset>()
@@ -154,9 +143,6 @@ public async Task TestQueryOverRestrictionWithClauseAsync()
154143
[Test]
155144
public async Task LazyLoadAsync()
156145
{
157-
if (Dialect is PostgreSQLDialect)
158-
Assert.Ignore("Dialect doesn't support 0/1 to bool implicit cast");
159-
160146
using (var s = OpenSession())
161147
{
162148
var asset = await (s.Query<Asset>().FirstAsync());
@@ -169,9 +155,6 @@ public async Task LazyLoadAsync()
169155
[Test]
170156
public async Task LazyLoadFilteredAsync()
171157
{
172-
if (Dialect is PostgreSQLDialect)
173-
Assert.Ignore("Dialect doesn't support 0/1 to bool implicit cast");
174-
175158
using (var s = OpenSession())
176159
{
177160
s.EnableFilter("deletedFilter").SetParameter("deletedParam", false);

0 commit comments

Comments
 (0)