From e4f5575679d1e294facd52617a9a4a04aded2212 Mon Sep 17 00:00:00 2001 From: Denis Stepanov Date: Fri, 14 Jan 2022 15:26:35 +0700 Subject: [PATCH] Fix tests --- .../data/model/query/builder/SqlQueryBuilderSpec.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data-processor/src/test/groovy/io/micronaut/data/model/query/builder/SqlQueryBuilderSpec.groovy b/data-processor/src/test/groovy/io/micronaut/data/model/query/builder/SqlQueryBuilderSpec.groovy index 09fa77bd28b..4f3dd3beb0c 100644 --- a/data-processor/src/test/groovy/io/micronaut/data/model/query/builder/SqlQueryBuilderSpec.groovy +++ b/data-processor/src/test/groovy/io/micronaut/data/model/query/builder/SqlQueryBuilderSpec.groovy @@ -94,10 +94,10 @@ interface MyRepository { expect: builder.dialect == Dialect.POSTGRES - builder.buildQuery(queryModel).query == 'SELECT sale_.id,sale_.name,sale_.data,sale_.quantities,sale_.extra_data FROM sale sale_ WHERE (sale_.name = $1)' + builder.buildQuery(queryModel).query == 'SELECT sale_.id,sale_.name,sale_.data,sale_.quantities,sale_.extra_data,sale_.data_list FROM sale sale_ WHERE (sale_.name = $1)' builder.buildDelete(queryModel).query == 'DELETE FROM sale WHERE (name = $1)' builder.buildUpdate(queryModel, Arrays.asList("name")).query == 'UPDATE sale SET name=$1 WHERE (name = $2)' - builder.buildInsert(annotationMetadata, entity).query == 'INSERT INTO sale (name,data,quantities,extra_data) VALUES ($1,to_json($2::json),to_json($3::json),to_json($4::json))' + builder.buildInsert(annotationMetadata, entity).query == 'INSERT INTO sale (name,data,quantities,extra_data,data_list) VALUES ($1,to_json($2::json),to_json($3::json),to_json($4::json),to_json($5::json))' }