Commit 0e12f049 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ConfirmDialog.spec.qml): remove useless instructions

parent 63482c17
......@@ -30,7 +30,7 @@ TestCase {
function test_exitStatusViaButtons_data () {
return [
{ button: 0, expectedStatus: 0 },
{ button: 1, expectedStatus: 1 },
{ button: 1, expectedStatus: 1 }
]
}
......@@ -41,7 +41,6 @@ TestCase {
compare(status, data.expectedStatus)
})
dialog.show()
mouseClick(dialog.buttons[data.button])
}
......@@ -51,6 +50,7 @@ TestCase {
dialog.exitStatus.connect(function (status) {
compare(status, 0)
})
dialog.close()
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment