Skip to content

Commit 52f5a3c

Browse files
committed
test: Add placeholder values to satify roundtrip tests
1 parent e7946cf commit 52f5a3c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • rust/operator-binary/src/crd

rust/operator-binary/src/crd/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,7 @@ attributed_string_type! {
874874

875875
#[cfg(test)]
876876
mod tests {
877+
use stackable_operator::versioned::test_utils::RoundtripTestData;
877878
use strum::IntoEnumIterator;
878879

879880
use crate::crd::{security_config_managing_role_group_default, v1alpha1};
@@ -912,4 +913,10 @@ mod tests {
912913
// Test that the function does not panic
913914
security_config_managing_role_group_default();
914915
}
916+
917+
impl RoundtripTestData for v1alpha1::OpenSearchClusterSpec {
918+
fn roundtrip_test_data() -> Vec<Self> {
919+
vec![]
920+
}
921+
}
915922
}

0 commit comments

Comments
 (0)