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

Commit 42b0d8d

Browse files
authored
Merge pull request #528 from CormacBrennan-AI/master
Skip InsertOnly tests for Oracle
2 parents ddd0fac + eab7d9f commit 42b0d8d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ServiceStack.OrmLite.Tests/OrmLiteInsertTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ public void Can_GetLastInsertedId_using_Insert()
227227
[Test]
228228
public void Can_InsertOnly_selected_fields()
229229
{
230+
SuppressIfOracle("Need trigger for autoincrement keys to work in Oracle");
231+
230232
using (var db = OpenDbConnection())
231233
{
232234
db.DropAndCreateTable<PersonWithAutoId>();
@@ -258,6 +260,8 @@ public void Can_InsertOnly_selected_fields()
258260
[Test]
259261
public void Can_InsertOnly_selected_fields_using_AssignmentExpression()
260262
{
263+
SuppressIfOracle("Need trigger for autoincrement keys to work in Oracle");
264+
261265
using (var db = OpenDbConnection())
262266
{
263267
db.DropAndCreateTable<PersonWithAutoId>();

0 commit comments

Comments
 (0)