diff --git a/query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_update/restrict.rs b/query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_update/restrict.rs index 1ca31a1e6349..fb86d5491fa2 100644 --- a/query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_update/restrict.rs +++ b/query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_update/restrict.rs @@ -334,11 +334,11 @@ mod one2many_req { // Linking field updated but no child connected: works insta::assert_snapshot!( - run_query!(&runner, r#"mutation { updateManyParent(where: { id: 2 }, data: { uniq: "u2" }) { count }}"#), + run_query!(&runner, r#"mutation { updateManyParent(where: { id: 2 }, data: { uniq: "u22" }) { count }}"#), @r###"{"data":{"updateManyParent":{"count":1}}}"### ); - // Child connected but no linking field updated: works + // No child connected and no linking field updated: works insta::assert_snapshot!( run_query!(&runner, r#"mutation { updateManyParent(where: { id: 2 }, data: { name: "Alice2" }) { count }}"#), @r###"{"data":{"updateManyParent":{"count":1}}}"### @@ -476,11 +476,11 @@ mod one2many_opt { // Linking field updated but no child connected: works insta::assert_snapshot!( - run_query!(&runner, r#"mutation { updateManyParent(where: { id: 2 }, data: { uniq: "u2" }) { count }}"#), + run_query!(&runner, r#"mutation { updateManyParent(where: { id: 2 }, data: { uniq: "u22" }) { count }}"#), @r###"{"data":{"updateManyParent":{"count":1}}}"### ); - // Child connected but no linking field updated: works + // No connected and no linking field updated: works insta::assert_snapshot!( run_query!(&runner, r#"mutation { updateManyParent(where: { id: 2 }, data: { name: "Alice2" }) { count }}"#), @r###"{"data":{"updateManyParent":{"count":1}}}"###