[network/ruqola] src/widgets/room/autotests: Add autotest

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f9b4fcfb07839c91dd497916f73bf3d2a3864084 by Laurent Montel.
Committed on 16/07/2026 at 22:17.
Pushed by mlaurent into branch 'master'.

Add autotest

M  +2    -1    src/widgets/room/autotests/pendingattachmentwidgettest.cpp

https://invent.kde.org/network/ruqola/-/commit/f9b4fcfb07839c91dd497916f73bf3d2a3864084

diff --git a/src/widgets/room/autotests/pendingattachmentwidgettest.cpp b/src/widgets/room/autotests/pendingattachmentwidgettest.cpp
index cbb8158c84..5671f469bd 100644
--- a/src/widgets/room/autotests/pendingattachmentwidgettest.cpp
+++ b/src/widgets/room/autotests/pendingattachmentwidgettest.cpp
@@ -18,7 +18,8 @@ PendingAttachmentWidgetTest::PendingAttachmentWidgetTest(QObject *parent)
 void PendingAttachmentWidgetTest::shouldHaveDefaultValues()
 {
     const PendingAttachmentWidget w;
-    // TODO
+    QVERIFY(!w.hasAttachments());
+    QVERIFY(w.attachmentsInfo().isEmpty());
 }
 
 #include "moc_pendingattachmentwidgettest.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.