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

Commit 89c1730

Browse files
committed
fix test checking for null instead of default(int) value
1 parent e0ab2fe commit 89c1730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ServiceStack.OrmLite.Tests/LoadReferencesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public void Can_Save_and_Load_Self_References()
439439
db.Save(customer);
440440

441441
Assert.That(customer.Id, Is.GreaterThan(0));
442-
Assert.That(customer.SelfCustomerAddressId, Is.EqualTo(0));
442+
Assert.That(customer.SelfCustomerAddressId, Is.Null);
443443

444444
db.SaveReferences(customer, customer.PrimaryAddress);
445445
Assert.That(customer.SelfCustomerAddressId, Is.EqualTo(customer.PrimaryAddress.Id));

0 commit comments

Comments
 (0)