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