Correct traceability test type and enabled menu assertions
This commit is contained in:
@@ -82,7 +82,7 @@ fn traceability_default_does_not_change_creation_or_ordinary_picker_guards() {
|
||||
let port = Id::new_v4();
|
||||
project.elements.insert(
|
||||
port,
|
||||
Element {
|
||||
oa_core::Element {
|
||||
id: port,
|
||||
alias: "legacy_port".into(),
|
||||
name: "Port".into(),
|
||||
|
||||
@@ -43,6 +43,7 @@ fn show_action(app: &mut App, element: Id) -> Message {
|
||||
_ => None,
|
||||
})
|
||||
.expect("eligible real menu action")
|
||||
.expect("eligible menu action must be enabled")
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user