Skip to content

Commit

Permalink
React to PG16 collation-related change in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Sep 15, 2023
1 parent f4b6483 commit 8bb5960
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2966,15 +2966,15 @@ public virtual async Task Create_collation_non_deterministic()
{
await Test(
_ => { },
builder => builder.HasCollation("some_collation", locale: "en-u-ks-primary", provider: "icu", deterministic: false),
builder => builder.HasCollation("some_collation", locale: "en-u-ks-level1", provider: "icu", deterministic: false),
model =>
{
var collation = Assert.Single(PostgresCollation.GetCollations(model));

Assert.Equal("some_collation", collation.Name);
Assert.Equal("icu", collation.Provider);
Assert.Equal("en-u-ks-primary", collation.LcCollate);
Assert.Equal("en-u-ks-primary", collation.LcCtype);
Assert.Equal("en-u-ks-level1", collation.LcCollate);
Assert.Equal("en-u-ks-level1", collation.LcCtype);
Assert.False(collation.IsDeterministic);
});

Expand Down

0 comments on commit 8bb5960

Please sign in to comment.