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

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

parent 63482c17
...@@ -30,7 +30,7 @@ TestCase { ...@@ -30,7 +30,7 @@ TestCase {
function test_exitStatusViaButtons_data () { function test_exitStatusViaButtons_data () {
return [ return [
{ button: 0, expectedStatus: 0 }, { button: 0, expectedStatus: 0 },
{ button: 1, expectedStatus: 1 }, { button: 1, expectedStatus: 1 }
] ]
} }
...@@ -41,7 +41,6 @@ TestCase { ...@@ -41,7 +41,6 @@ TestCase {
compare(status, data.expectedStatus) compare(status, data.expectedStatus)
}) })
dialog.show()
mouseClick(dialog.buttons[data.button]) mouseClick(dialog.buttons[data.button])
} }
...@@ -51,6 +50,7 @@ TestCase { ...@@ -51,6 +50,7 @@ TestCase {
dialog.exitStatus.connect(function (status) { dialog.exitStatus.connect(function (status) {
compare(status, 0) compare(status, 0)
}) })
dialog.close() 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