From 20908fe161564d7bb8758b68a854273b5a20c572 Mon Sep 17 00:00:00 2001 From: michael starke Date: Fri, 14 Feb 2014 03:18:36 +0100 Subject: [PATCH] Extracted more element names into separate file --- KeePassKit | 2 +- MacPassTests/KPKTestNSCoding.m | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/KeePassKit b/KeePassKit index 04ed133b..f3e6e520 160000 --- a/KeePassKit +++ b/KeePassKit @@ -1 +1 @@ -Subproject commit 04ed133b0ea6ea11aa8064b68482f7916340b9c5 +Subproject commit f3e6e5201b2a6f05a6f74db055c886c2f5698af3 diff --git a/MacPassTests/KPKTestNSCoding.m b/MacPassTests/KPKTestNSCoding.m index 4c3f5688..c18fd7e2 100644 --- a/MacPassTests/KPKTestNSCoding.m +++ b/MacPassTests/KPKTestNSCoding.m @@ -10,11 +10,12 @@ #import "KPKEntry.h" #import "KPKBinary.h" #import "KPKAttribute.h" +#import "KPKXmlElements.h" @implementation KPKTestNSCoding - (void)testAttributeCoding { - KPKAttribute *attribute = [[KPKAttribute alloc] initWithKey:@"Key" value:@"Value" isProtected:YES]; + KPKAttribute *attribute = [[KPKAttribute alloc] initWithKey:kKPKXmlKey value:@"Value" isProtected:YES]; NSData *data = [self encode:attribute]; KPKAttribute *copy = [self decode:data ofClass:[KPKAttribute class]];