test/blacklist_test.cc
branchENGINE-129
changeset 1343 59f014327d4a
parent 1341 a54396ccb460
child 1449 c4874b0a2501
     1.1 --- a/test/blacklist_test.cc	Thu Oct 27 21:43:59 2016 +0200
     1.2 +++ b/test/blacklist_test.cc	Thu Oct 27 21:56:46 2016 +0200
     1.3 @@ -111,12 +111,15 @@
     1.4      PEP_STATUS status15 = update_identity(session, blacklisted_identity2);
     1.5      PEP_STATUS status12 = blacklist_delete(session, bl_fpr_1);
     1.6      PEP_STATUS status13 = update_identity(session, blacklisted_identity);
     1.7 -    
     1.8 -    /* FIXME: remove both keys again from everywhere and clean up identities */
     1.9 +            
    1.10 +    PEP_STATUS status16 = delete_keypair(session, bl_fpr_1);
    1.11 +    update_identity(session, blacklisted_identity);
    1.12 +    PEP_STATUS status17 = delete_keypair(session, bl_fpr_2);
    1.13 +    update_identity(session, blacklisted_identity2);
    1.14 +        
    1.15      free_identity(blacklisted_identity);
    1.16      free_identity(blacklisted_identity2);
    1.17      
    1.18 -    
    1.19      cout << "calling release()\n";
    1.20      release(session);
    1.21      return 0;