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

Commit 4c60114

Browse files
committed
Update SS.Common dlls + refactor test to remove warnings + use NUnit's recommended Assert.That()
1 parent 44f7da5 commit 4c60114

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

lib/ServiceStack.Client.dll

0 Bytes
Binary file not shown.

lib/ServiceStack.Common.dll

0 Bytes
Binary file not shown.

lib/ServiceStack.Interfaces.dll

0 Bytes
Binary file not shown.

tests/ServiceStack.OrmLite.Tests/Issues/CanBuildExpressionWithAbstractType.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ public void Can_Update_Property_In_Abstract_Base_Class()
3030
db.DropAndCreateTable<ProductSheet>();
3131
db.Insert(new ProductSheet { Id = 23, ManufacturingMessage = "test" });
3232
db.UpdateOnly(new ProductSheet { ManufacturingMessage = "toto" }, p => p.ManufacturingMessage, p => p.Id == 23);
33-
var sheet = db.Select<ProductSheet>().FirstOrDefault(p => p.Id == 23);
34-
Assert.AreEqual("toto", sheet.ManufacturingMessage);
33+
var sheet = db.SingleById<ProductSheet>(23);
34+
Assert.That(sheet.ManufacturingMessage, Is.EqualTo("toto"));
3535
}
3636
}
37-
3837
}
3938
}

0 commit comments

Comments
 (0)