File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/NHibernate.Test/NHSpecificTest/NH1171 Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ namespace NHibernate.Test.NHSpecificTest.NH1171
7
7
[ TestFixture ]
8
8
public class Fixture : BugTestCase
9
9
{
10
+ protected override bool AppliesTo ( Dialect . Dialect dialect )
11
+ {
12
+ // Firebird has issues with comments containing apostrophes
13
+ return ! ( dialect is FirebirdDialect ) ;
14
+ }
15
+
10
16
protected override void Configure ( NHibernate . Cfg . Configuration configuration )
11
17
{
12
18
configuration . SetProperty ( Environment . FormatSql , "false" ) ;
@@ -15,9 +21,6 @@ protected override void Configure(NHibernate.Cfg.Configuration configuration)
15
21
[ Test ]
16
22
public void SupportSQLQueryWithComments ( )
17
23
{
18
- if ( Dialect is FirebirdDialect )
19
- Assert . Ignore ( "Firebird has issues with comments containing apostrophes" ) ;
20
-
21
24
string sql =
22
25
@"
23
26
SELECT id
@@ -38,9 +41,6 @@ ORDER BY Name
38
41
[ Test ]
39
42
public void ExecutedContainsComments ( )
40
43
{
41
- if ( Dialect is FirebirdDialect )
42
- Assert . Ignore ( "Firebird has issues with comments containing apostrophes" ) ;
43
-
44
44
string sql =
45
45
@"
46
46
SELECT id
You can’t perform that action at this time.
0 commit comments