pEpObjCTests/PEPSessionTest.m
changeset 557 7cf2f6710453
parent 556 8f0dfa74c08b
child 558 87889e9cacd2
     1.1 --- a/pEpObjCTests/PEPSessionTest.m	Fri Apr 06 09:13:32 2018 +0200
     1.2 +++ b/pEpObjCTests/PEPSessionTest.m	Fri Apr 06 10:49:41 2018 +0200
     1.3 @@ -396,7 +396,7 @@
     1.4          NSError *error = nil;
     1.5          PEPMessage *encMsg = [innerSession
     1.6                                encryptMessage:msg
     1.7 -                              identity:me
     1.8 +                              forSelf:me
     1.9                                extraKeys:nil
    1.10                                status:&status error:&error];
    1.11          XCTAssertEqual(status, PEP_STATUS_OK);
    1.12 @@ -1266,7 +1266,7 @@
    1.13      PEP_STATUS status = PEP_UNKNOWN_ERROR;
    1.14      PEPMessage *encMessage = [session
    1.15                                encryptMessage:mail
    1.16 -                              identity:me
    1.17 +                              forSelf:me
    1.18                                extraKeys:nil
    1.19                                status:&status
    1.20                                error:&error];
    1.21 @@ -1295,7 +1295,7 @@
    1.22      PEP_STATUS status;
    1.23      PEPMessage *encMessage = [session
    1.24                                encryptMessage:mail
    1.25 -                              identity:me
    1.26 +                              forSelf:me
    1.27                                extraKeys:nil
    1.28                                status:&status
    1.29                                error:&error];
    1.30 @@ -1372,7 +1372,7 @@
    1.31      if (toSelf) {
    1.32          encMsg = [session
    1.33                    encryptMessage:msg
    1.34 -                  identity:identMe
    1.35 +                  forSelf:identMe
    1.36                    extraKeys:nil
    1.37                    status:&statusEnc
    1.38                    error:&error];