testScreenEdges: no need to wait twice for Screens::changed
Now ::init does it and we don't need to account for it from test cases
This commit is contained in:
parent
9fc09b9a32
commit
b2f30e7d7d
1 changed files with 0 additions and 3 deletions
|
@ -318,9 +318,6 @@ void TestScreenEdges::testCreatingInitialEdges()
|
|||
static_cast<MockScreens*>(screens())->setGeometries(QList<QRect>{QRect{0, 0, 1024, 768}});
|
||||
QSignalSpy changedSpy(screens(), &Screens::changed);
|
||||
QVERIFY(changedSpy.isValid());
|
||||
// first is before it's updated
|
||||
QVERIFY(changedSpy.wait());
|
||||
// second is after it's updated
|
||||
QVERIFY(changedSpy.wait());
|
||||
|
||||
// let's update the layout and verify that we have edges
|
||||
|
|
Loading…
Reference in a new issue