Stupid test bug.
authorKrista Grothoff <krista@pep-project.org>
Tue, 20 Dec 2016 14:21:00 +0100
changeset 15030f86dbd30df1
parent 1500 6cc35643fed0
child 1504 a7a459dc4752
Stupid test bug.
test/blacklist_test.cc
     1.1 --- a/test/blacklist_test.cc	Tue Dec 20 11:24:15 2016 +0100
     1.2 +++ b/test/blacklist_test.cc	Tue Dec 20 14:21:00 2016 +0100
     1.3 @@ -125,14 +125,15 @@
     1.4                                                          NULL,
     1.5                                                         "Blacklist Keypair");
     1.6      PEP_STATUS status15 = update_identity(session, blacklisted_identity2);
     1.7 -    PEP_STATUS status12 = blacklist_delete(session, bl_fpr_1);
     1.8 -    PEP_STATUS status13 = update_identity(session, blacklisted_identity);
     1.9  
    1.10      if (strcmp(blacklisted_identity->fpr, bl_fpr_2))
    1.11          cout << "blacklisted identity's fpr successfully replaced by the unblacklisted one" << endl;
    1.12      else
    1.13          cout << "blacklisted_identity->fpr should be " << bl_fpr_2 << " but is " << blacklisted_identity->fpr << endl;
    1.14 -            
    1.15 +    
    1.16 +    PEP_STATUS status12 = blacklist_delete(session, bl_fpr_1);
    1.17 +    PEP_STATUS status13 = update_identity(session, blacklisted_identity);
    1.18 +        
    1.19      pEp_identity* stored_identity = new_identity("blacklistedkeys@kgrothoff.org",
    1.20                                                    NULL,
    1.21                                                    blacklisted_identity->user_id,