Skip to content

Commit 38ca0ec

Browse files
committed
test: Add placeholder values to satify roundtrip tests
1 parent cf003a8 commit 38ca0ec

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • rust/operator-binary/src/crd

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,3 +586,16 @@ impl Default for NifiNodeRoleConfig {
586586
fn node_default_listener_class() -> String {
587587
"cluster-internal".to_string()
588588
}
589+
590+
#[cfg(test)]
591+
mod tests {
592+
use stackable_operator::versioned::test_utils::RoundtripTestData;
593+
594+
use super::v1alpha1;
595+
596+
impl RoundtripTestData for v1alpha1::NifiClusterSpec {
597+
fn roundtrip_test_data() -> Vec<Self> {
598+
vec![]
599+
}
600+
}
601+
}

0 commit comments

Comments
 (0)