IOS-937 using util method
authorDirk Zimmermann <dirk@pep-project.org>
Fri, 09 Feb 2018 14:23:49 +0100
changeset 440d8cf857a5fc2
parent 439 1fd920a2ce00
child 441 b951138b7dd1
IOS-937 using util method
pEpObjCTests/PEPSessionTest.m
     1.1 --- a/pEpObjCTests/PEPSessionTest.m	Fri Feb 09 14:21:36 2018 +0100
     1.2 +++ b/pEpObjCTests/PEPSessionTest.m	Fri Feb 09 14:23:49 2018 +0100
     1.3 @@ -193,15 +193,12 @@
     1.4      [PEPTestUtils importBundledKey:@"6FF00E97_sec.asc"];
     1.5  
     1.6      // Our test user :
     1.7 -    PEPIdentity *identAlice = [[PEPIdentity alloc]
     1.8 -                               initWithAddress:@"pep.test.alice@pep-project.org"
     1.9 -                               userID:ownUserId
    1.10 -                               userName:@"pEp Test Alice"
    1.11 -                               isOwn:YES
    1.12 +    PEPIdentity *identAlice = [self
    1.13 +                               checkMySelfImportingKeyFilePath:@"6FF00E97_sec.asc"
    1.14 +                               address:@"pep.test.alice@pep-project.org"
    1.15 +                               userID:@"Alice_User_ID"
    1.16                                 fingerPrint:@"4ABE3AAF59AC32CFE4F86500A9411D176FF00E97"];
    1.17  
    1.18 -    [session mySelf:identAlice];
    1.19 -
    1.20      //Message
    1.21  
    1.22      PEPIdentity *identBob = [[PEPIdentity alloc]