From 439ea243bc08fc803834e6c52f8d3e0303d86185 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..4da478769 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 1.4.0 (#336) ## [1.12.0] - 2023-06-07 diff --git a/crud/tarantool_test.go b/crud/tarantool_test.go index e28a78e85..ad3744fb4 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",