test/apple_mail_test.cc
branchENGINE-174
changeset 1619 c29c5805986c
parent 1610 1f07d18d8bcc
parent 1616 e515db731314
child 1648 158e65c83311
     1.1 --- a/test/apple_mail_test.cc	Fri Mar 03 14:24:44 2017 +0100
     1.2 +++ b/test/apple_mail_test.cc	Fri Mar 03 18:48:13 2017 +0100
     1.3 @@ -57,7 +57,8 @@
     1.4      pEp_identity * me = new_identity("pep.test.recip@kgrothoff.org", NULL, PEP_OWN_USERID, "pEp Test Recipient");    
     1.5      me->me = true;    
     1.6      PEP_STATUS status = update_identity(session, me);
     1.7 -    trust_personal_key(session, me);
     1.8 +    trust_personal_key(session, me);    
     1.9 +    status = update_identity(session, me);
    1.10      
    1.11      pEp_identity * you = new_identity("pep.test.apple@pep-project.org", NULL, "TOFU_pep.test.apple@pep-project.org", "pEp Test Recipient");    
    1.12      you->me = false;    
    1.13 @@ -65,6 +66,8 @@
    1.14  
    1.15      trust_personal_key(session, you);
    1.16      
    1.17 +    status = update_identity(session, you);
    1.18 +    
    1.19      message* msg_ptr = nullptr;
    1.20      message* dest_msg = nullptr;
    1.21      message* final_ptr = nullptr;