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

Commit cb90f13

Browse files
committed
Make ShippersExample test work with Oracle provider.
1 parent 71e14c0 commit cb90f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ServiceStack.OrmLite.Tests/ShippersExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void Shippers_UseCase()
120120

121121
//Performing custom queries
122122
//Select only a subset from the table
123-
var partialColumns = db.Select<SubsetOfShipper>(db.From<Shipper>().Where(q => q.ShipperTypeId == 2));
123+
var partialColumns = db.Select<SubsetOfShipper>(db.From<Shipper>().Where(q => q.ShipperTypeId == planesType.Id));
124124
Assert.That(partialColumns, Has.Count.EqualTo(2));
125125

126126
partialColumns = db.SelectFmt<SubsetOfShipper>(typeof (Shipper), "ShipperTypeId = {0}", planesType.Id);

0 commit comments

Comments
 (0)