Skip to content

Commit

Permalink
test: fix running with new crud
Browse files Browse the repository at this point in the history
After [1], tuple arguments are validated before space validation, so
error contents assertion fails.

1. tarantool/crud@6b20c8c
  • Loading branch information
DifferentialOrange committed Oct 12, 2023
1 parent c0e656b commit c40a1ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion crud/tarantool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ var testResultWithErrCases = []struct {
{
"ManyResult",
&crud.Result{},
crud.MakeReplaceManyRequest(invalidSpaceName).Opts(opManyOpts),
crud.MakeReplaceManyRequest(invalidSpaceName).Tuples(tuples).Opts(opManyOpts),
},
{
"NumberResult",
Expand Down

0 comments on commit c40a1ec

Please sign in to comment.