Skip to content

Commit

Permalink
test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
plcplc committed Oct 17, 2023
1 parent 454b1b2 commit c444416
Show file tree
Hide file tree
Showing 27 changed files with 1,301 additions and 3,633 deletions.
12 changes: 0 additions & 12 deletions crates/connectors/ndc-citus/tests/query_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,6 @@ mod predicates {
insta::assert_json_snapshot!(result);
}

#[tokio::test]
async fn select_where_name_similar() {
let result = run_query(create_router().await, "select_where_name_similar").await;
insta::assert_json_snapshot!(result);
}

#[tokio::test]
async fn select_where_name_nsimilar() {
let result = run_query(create_router().await, "select_where_name_nsimilar").await;
insta::assert_json_snapshot!(result);
}

#[tokio::test]
async fn select_where_name_regex() {
let result = run_query(create_router().await, "select_where_name_regex").await;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ FROM
FROM
"public"."Album" AS "%0_Album"
WHERE
("%0_Album"."Title" NOT ILIKE cast($1 as varchar))
("%0_Album"."Title" !~~* cast($1 as varchar))
ORDER BY
"%0_Album"."AlbumId" ASC
LIMIT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ FROM
FROM
"public"."Album" AS "%0_Album"
WHERE
("%0_Album"."Title" LIKE $1)
("%0_Album"."Title" ~~ $1)
ORDER BY
"%0_Album"."AlbumId" ASC
) AS "%2_rows"
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit c444416

Please sign in to comment.