Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 4c56bde

Browse files
committed
Only run SQL Server SP tests for SqlServer
1 parent 3b6a3bb commit 4c56bde

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/ServiceStack.OrmLiteV45.Tests/CustomSqlTestsAsync.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ @pTotal int OUT
3535
[Test]
3636
public async Task Can_execute_stored_procedure_using_SqlList_with_out_params()
3737
{
38+
if (Dialect != Dialect.SqlServer) return;
39+
3840
using (var db = OpenDbConnection())
3941
{
4042
db.DropAndCreateTable<LetterFrequency>();
@@ -61,6 +63,8 @@ public async Task Can_execute_stored_procedure_using_SqlList_with_out_params()
6163
[Test]
6264
public async Task Can_execute_stored_procedure_using_SqlProc_with_out_params()
6365
{
66+
if (Dialect != Dialect.SqlServer) return;
67+
6468
using (var db = OpenDbConnection())
6569
{
6670
db.DropAndCreateTable<LetterFrequency>();
@@ -84,8 +88,11 @@ public async Task Can_execute_stored_procedure_using_SqlProc_with_out_params()
8488
}
8589

8690
[Test]
91+
[NUnit.Framework.Ignore("Requires out-of-band SP")]
8792
public async Task Can_execute_stored_proceduce_returning_scalars()
8893
{
94+
if (Dialect != Dialect.SqlServer) return;
95+
8996
using (var db = OpenDbConnection())
9097
{
9198
using (var cmd = db.SqlProc(

0 commit comments

Comments
 (0)