mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
committed by
Jonathan White
parent
7e1d980d08
commit
a4d4adb1f6
@@ -164,7 +164,7 @@ void TestEntryModel::testAttachmentsModel()
|
||||
|
||||
QSignalSpy spyReset(model, SIGNAL(modelReset()));
|
||||
entryAttachments->clear();
|
||||
model->setEntryAttachments(0);
|
||||
model->setEntryAttachments(nullptr);
|
||||
QCOMPARE(spyReset.count(), 2);
|
||||
QCOMPARE(model->rowCount(), 0);
|
||||
|
||||
@@ -217,7 +217,7 @@ void TestEntryModel::testAttributesModel()
|
||||
|
||||
QSignalSpy spyReset(model, SIGNAL(modelReset()));
|
||||
entryAttributes->clear();
|
||||
model->setEntryAttributes(0);
|
||||
model->setEntryAttributes(nullptr);
|
||||
QCOMPARE(spyReset.count(), 2);
|
||||
QCOMPARE(model->rowCount(), 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user