Skip to content

Commit 1989381

Browse files
committed
test: Add placeholder values to satify roundtrip tests
1 parent e07d44f commit 1989381

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

  • rust/operator-binary/src/crd

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,3 +454,22 @@ impl HasStatusCondition for v1alpha2::OpaCluster {
454454
}
455455
}
456456
}
457+
458+
#[cfg(test)]
459+
mod tests {
460+
use stackable_operator::versioned::test_utils::RoundtripTestData;
461+
462+
use super::{v1alpha1, v1alpha2};
463+
464+
impl RoundtripTestData for v1alpha1::OpaClusterSpec {
465+
fn roundtrip_test_data() -> Vec<Self> {
466+
vec![]
467+
}
468+
}
469+
470+
impl RoundtripTestData for v1alpha2::OpaClusterSpec {
471+
fn roundtrip_test_data() -> Vec<Self> {
472+
vec![]
473+
}
474+
}
475+
}

0 commit comments

Comments
 (0)