Files
documentdb/pg_documentdb_gw/tests
Ritvik Jayaswal 983a7390f7 Merged PR 1657382: Fixed create_indexes tests to use correct documentdb function
### Does this PR have any customer impact?

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)

### Are you introducing any new config? If yes, do you have tests with and without them being set?

### ChangeLog (Refer [Template](../oss/CHANGELOG.md))

### Description

Previously, our integration tests were using create_index, but documentdb only supports create_indexes (plural)

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix for a failing test.

#### PR Summary
This pull request fixes the `create_indexes` and `drop_indexes` tests to correctly use the `create_indexes` function for compatibility with a DocumentDB backend.
- `integration_tests.rs`: Updated `create_indexes` and `drop_indexes` tests to use `create_indexes` with a list of `IndexModel` objects, ensuring proper function calls and assertions.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->

Related work items: #4014913
2025-05-29 12:12:31 +08:00
..