From c40a1ec79d472ac58016993c4c7aaf09c38e2afb Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Thu, 12 Oct 2023 15:08:26 +0300 Subject: [PATCH] test: fix running with new crud After [1], tuple arguments are validated before space validation, so error contents assertion fails. 1. https://github.com/tarantool/crud/commit/6b20c8c5ce16a3b59ce4b998659b9baceaeb16e4 --- CHANGELOG.md | 1 + crud/tarantool_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5274d35ff..f70432654 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,6 +60,7 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release. crud.SelectRequest (#320) - Incorrect options (`vshard_router`, `fields`, `bucket_id`, `mode`, `prefer_replica`, `balance`) setup for crud.GetRequest (#335) +- Tests with crud newer than 1.3.0 (#336) ## [1.12.0] - 2023-06-07 diff --git a/crud/tarantool_test.go b/crud/tarantool_test.go index 37fda065d..e13615bc6 100644 --- a/crud/tarantool_test.go +++ b/crud/tarantool_test.go @@ -229,7 +229,7 @@ var testResultWithErrCases = []struct { { "ManyResult", &crud.Result{}, - crud.MakeReplaceManyRequest(invalidSpaceName).Opts(opManyOpts), + crud.MakeReplaceManyRequest(invalidSpaceName).Tuples(tuples).Opts(opManyOpts), }, { "NumberResult",