From 65626e3b114b7cc13316143b7dc03539c3770837 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Wed, 25 Nov 2020 15:32:42 +0100 Subject: [PATCH] Fixed wrong selector in Test --- MacPassTests/MPTestDocument.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }