[network/ruqola] src/widgets/dialogs/autotests: Improve autotest

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 50815ec646fc2d8dc508557c688eeaf5b7970e8d by Laurent Montel.
Committed on 20/07/2026 at 11:19.
Pushed by mlaurent into branch 'master'.

Improve autotest

M  +3    -0    src/widgets/dialogs/autotests/directchannelinfowidgettest.cpp

https://invent.kde.org/network/ruqola/-/commit/50815ec646fc2d8dc508557c688eeaf5b7970e8d

diff --git a/src/widgets/dialogs/autotests/directchannelinfowidgettest.cpp b/src/widgets/dialogs/autotests/directchannelinfowidgettest.cpp
index e5f8e7dd80..309611d805 100644
--- a/src/widgets/dialogs/autotests/directchannelinfowidgettest.cpp
+++ b/src/widgets/dialogs/autotests/directchannelinfowidgettest.cpp
@@ -33,6 +33,9 @@ void DirectChannelInfoWidgetTest::shouldHaveDefaultValues()
     auto mAvatar = w.findChild<QLabel *>(u"mAvatar"_s);
     QVERIFY(mAvatar);
     QVERIFY(mAvatar->text().isEmpty());
+
+    auto mDirectChannelActionWidget = w.findChild<DirectChannelActionWidget *>(u"mDirectChannelActionWidget"_s);
+    QVERIFY(mDirectChannelActionWidget);
 }
 
 #include "moc_directchannelinfowidgettest.cpp"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.