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

Commit ce791e7

Browse files
committed
Fix filter
1 parent 41d45c1 commit ce791e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite.PostgreSQL.Tests/EnumTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void CanQueryByEnumValue_using_select_with_string()
6464
con.Save(new TypeWithEnum { Id = 2, EnumValue = SomeEnum.Value1 });
6565
con.Save(new TypeWithEnum { Id = 3, EnumValue = SomeEnum.Value2 });
6666

67-
var target = con.SelectFmt<TypeWithEnum>("\"EnumValue\" = {0}", SomeEnum.Value1);
67+
var target = con.SelectFmt<TypeWithEnum>("\"enum_value\" = {0}", SomeEnum.Value1);
6868

6969
Assert.AreEqual(2, target.Count());
7070
}

0 commit comments

Comments
 (0)