Skip to content

Commit d2b7df1

Browse files
committed
fix: add missing fields to IndexType::SteVec in integration tests
Add term_filters and array_index_mode fields required by the updated cipherstash-client API.
1 parent 256da39 commit d2b7df1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cipherstash-proxy-integration/src/generate.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ mod tests {
99
};
1010
use cipherstash_client::{encryption::ScopedCipher, zerokms::EncryptedRecord};
1111
use cipherstash_client::{ConsoleConfig, CtsConfig, ZeroKMSConfig};
12-
use cipherstash_config::column::{Index, IndexType};
12+
use cipherstash_config::column::{ArrayIndexMode, Index, IndexType};
1313
use cipherstash_config::{ColumnConfig, ColumnType};
1414
use cipherstash_proxy::Identifier;
1515
use serde::{Deserialize, Serialize};
@@ -154,6 +154,8 @@ mod tests {
154154
.casts_as(ColumnType::JsonB)
155155
.add_index(Index::new(IndexType::SteVec {
156156
prefix: prefix.to_owned(),
157+
term_filters: vec![],
158+
array_index_mode: ArrayIndexMode::ALL,
157159
}));
158160

159161
// let mut value =

0 commit comments

Comments
 (0)