Skip to content

Commit 94fb197

Browse files
committed
test: Add placeholder values to satify roundtrip tests
1 parent faec901 commit 94fb197

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

  • rust/operator-binary/src/crd

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use crate::{
3636
},
3737
};
3838

39-
pub const DOCKER_IMAGE_BASE_NAME: &str = "kafka";
39+
pub const CONTAINER_IMAGE_BASE_NAME: &str = "kafka";
4040
pub const APP_NAME: &str = "kafka";
4141
pub const OPERATOR_NAME: &str = "kafka.stackable.tech";
4242
pub const FIELD_MANAGER: &str = "kafka-operator";
@@ -582,6 +582,7 @@ pub enum MetadataManager {
582582
#[cfg(test)]
583583
mod tests {
584584
use rstest::rstest;
585+
use stackable_operator::versioned::test_utils::RoundtripTestData;
585586

586587
use super::*;
587588

@@ -823,4 +824,10 @@ mod tests {
823824
},
824825
};
825826
}
827+
828+
impl RoundtripTestData for v1alpha1::KafkaClusterSpec {
829+
fn roundtrip_test_data() -> Vec<Self> {
830+
vec![]
831+
}
832+
}
826833
}

0 commit comments

Comments
 (0)