Verified Commit ecea544d authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

test: query correct output

Summary:
Fixes the simpleWrite test.

Test Plan: simpleWrite test passes

Reviewers: #plasma, romangg

Reviewed By: #plasma, romangg

Subscribers: romangg, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27537
parent ba4b0d57
......@@ -189,7 +189,8 @@ void testWaylandBackend::simpleWrite()
GetConfigOperation *op = new GetConfigOperation();
op->exec();
m_config = op->config();
auto output = m_config->output(1);
auto output = m_config->output(3);
QVERIFY(output);
auto n_mode = QStringLiteral("800x600@60");
auto o_mode = output->currentModeId();
output->setCurrentModeId(n_mode);
......
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