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

Commit e764f00

Browse files
author
Carl Healy
committed
Correct Assert in Nullable AutoIncrementId Test
1 parent 29fa0f9 commit e764f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ServiceStack.OrmLite.Tests/OrmLiteSaveTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public void Save_populates_AutoIncrementId()
2727
db.Save(row);
2828

2929
Assert.That(row.Id, Is.Not.EqualTo(0));
30-
Assert.That(row.Id, Is.Not.Null);
3130
}
3231
}
3332

@@ -76,6 +75,7 @@ public void Save_populates_NullableAutoIncrementId()
7675
db.Save(row);
7776

7877
Assert.That(row.Id, Is.Not.EqualTo(0));
78+
Assert.That(row.Id, Is.Not.Null);
7979
}
8080
}
8181

0 commit comments

Comments
 (0)