From 9b61e22ba99d9f90f2cf491c95c9fa7439e00c23 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Fri, 6 Aug 2021 10:54:09 +0800 Subject: [PATCH] Hotfix - Postgres collation default case-sensitive? --- tests/query_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/query_tests.rs b/tests/query_tests.rs index 2626ee0b..7b605a7a 100644 --- a/tests/query_tests.rs +++ b/tests/query_tests.rs @@ -205,7 +205,7 @@ pub async fn find_all_filter_with_results() { .expect("could not insert bakery"); let bakeries = Bakery::find() - .filter(bakery::Column::Name.contains("bakery")) + .filter(bakery::Column::Name.contains("Bakery")) .all(&ctx.db) .await .unwrap();