Skip to content

Commit

Permalink
test: correct test suite attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-prisma committed Dec 20, 2024
1 parent 5315079 commit 5466add
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,11 @@ mod update_many_and_return {
}
}

#[test_suite(schema(json_opt), exclude(MySql(5.6)), capabilities(Json, UpdateReturning))]
#[test_suite(schema(json_opt), capabilities(AdvancedJsonNullability, UpdateReturning))]
mod json_update_many_and_return {
use query_engine_tests::{assert_error, run_query};

#[connector_test(capabilities(AdvancedJsonNullability))]
#[connector_test]
async fn update_json_adv(runner: Runner) -> TestResult<()> {
insta::assert_snapshot!(
run_query!(&runner, r#"mutation { createOneTestModel(data: { id: 1 }) { json }}"#),
Expand All @@ -295,7 +295,7 @@ mod json_update_many_and_return {
Ok(())
}

#[connector_test(capabilities(AdvancedJsonNullability))]
#[connector_test]
async fn update_json_errors(runner: Runner) -> TestResult<()> {
assert_error!(
&runner,
Expand Down

0 comments on commit 5466add

Please sign in to comment.