diff --git a/MacPassTests/MPTestDocument.m b/MacPassTests/MPTestDocument.m index 3e7227c6..1c1a409c 100644 --- a/MacPassTests/MPTestDocument.m +++ b/MacPassTests/MPTestDocument.m @@ -31,7 +31,7 @@ KPKFileVersion kdb = { KPKDatabaseFormatKdb, kKPKKdbFileVersion }; XCTAssertEqual(NSOrderedSame, KPKFileVersionCompare(kdb, document.tree.minimumVersion), @"Tree should be Legacy Version in default case"); XCTAssertFalse(document.encrypted, @"Document cannot be encrypted at creation"); - XCTAssertFalse(document.compositeKey.hasPasswordOrKeyFile, @"Document has no Password/Keyfile and thus is not secured"); + XCTAssertFalse(document.compositeKey.hasKeys, @"Document has no Password/Keyfile and thus is not secured"); }