From 571dbe03a5436f577f561f895412566e9bdc8f18 Mon Sep 17 00:00:00 2001 From: michael starke Date: Mon, 11 Sep 2017 16:08:53 +0200 Subject: [PATCH] udpated KeePassKit to fix custom attribute lookup in autotype --- Cartfile | 2 +- Cartfile.resolved | 2 +- MacPassTests/MPTestAutotype.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cartfile b/Cartfile index 4dec2836..652a3a80 100644 --- a/Cartfile +++ b/Cartfile @@ -1,3 +1,3 @@ github "sparkle-project/Sparkle" ~> 1.18.1 -github "mstarke/KeePassKit" "5c767b17ac9e993b6558d206bed81d0887b5b562" +github "mstarke/KeePassKit" "56cfe1f6084a7817631d5e2306c2edf1ce98e5d4" github "mstarke/HNHUi" ~> 1.1 diff --git a/Cartfile.resolved b/Cartfile.resolved index b6295b22..aacf0db4 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,3 +1,3 @@ github "mstarke/HNHUi" "1.1.2" -github "mstarke/KeePassKit" "5c767b17ac9e993b6558d206bed81d0887b5b562" +github "mstarke/KeePassKit" "56cfe1f6084a7817631d5e2306c2edf1ce98e5d4" github "sparkle-project/Sparkle" "1.18.1" diff --git a/MacPassTests/MPTestAutotype.m b/MacPassTests/MPTestAutotype.m index bb68357e..94a8afbe 100644 --- a/MacPassTests/MPTestAutotype.m +++ b/MacPassTests/MPTestAutotype.m @@ -87,7 +87,7 @@ MPAutotypeContext *context = [[MPAutotypeContext alloc] initWithDefaultSequenceForEntry:self.entry]; NSString *result = [[NSString alloc] initWithFormat:@"%@%@%@%@", self.entry.username, lowerCaseAttribute.value, mixedCaseAttribute.value, upperCaseAttribute.value]; - XCTAssertTrue([[context evaluatedCommand] isEqualToString:result]); + XCTAssertEqualObjects(context.evaluatedCommand, result); } - (void)testCustomAttributeRepetition {