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

Commit b4a31c4

Browse files
committed
fix test leaking state
1 parent 09d29bc commit b4a31c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ServiceStack.OrmLite.Tests/OrmLiteSaveTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ public void Can_disable_AutoIncrement_field()
5454
row = db.SingleById<PersonWithAutoId>(100);
5555

5656
Assert.That(row.Id, Is.EqualTo(100));
57+
58+
typeof(PersonWithAutoId)
59+
.GetModelMetadata()
60+
.PrimaryKey.AutoIncrement = true;
5761
}
5862
}
5963

0 commit comments

Comments
 (0)