Skip to content

Commit 28de780

Browse files
committed
test: Add placeholder values to satify roundtrip tests
1 parent bc99c4e commit 28de780

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

  • rust/operator-binary/src/crd

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,8 +1371,11 @@ mod tests {
13711371
use indoc::indoc;
13721372
use product_config::{ProductConfigManager, types::PropertyNameKind};
13731373
use rstest::rstest;
1374-
use stackable_operator::product_config_utils::{
1375-
transform_all_roles_to_config, validate_all_roles_and_groups_config,
1374+
use stackable_operator::{
1375+
product_config_utils::{
1376+
transform_all_roles_to_config, validate_all_roles_and_groups_config,
1377+
},
1378+
versioned::test_utils::RoundtripTestData,
13761379
};
13771380

13781381
use super::*;
@@ -1543,4 +1546,10 @@ spec:
15431546
panic!("this shouldn't happen");
15441547
};
15451548
}
1549+
1550+
impl RoundtripTestData for v1alpha1::HbaseClusterSpec {
1551+
fn roundtrip_test_data() -> Vec<Self> {
1552+
vec![]
1553+
}
1554+
}
15461555
}

0 commit comments

Comments
 (0)