test/src/engine_tests/NewUpdateIdAndMyselfTests.cc
branchENGINE-581
changeset 3886 ebd61a1cf6db
parent 3401 9d9142a1490e
     1.1 --- a/test/src/engine_tests/NewUpdateIdAndMyselfTests.cc	Thu Jun 27 13:12:07 2019 +0200
     1.2 +++ b/test/src/engine_tests/NewUpdateIdAndMyselfTests.cc	Thu Jun 27 15:12:42 2019 +0200
     1.3 @@ -500,10 +500,10 @@
     1.4      TEST_ASSERT_MSG((bernd->user_id), "bernd->user_id");
     1.5      TEST_ASSERT_MSG((strcmp(bernd->user_id, bernd_userid) == 0), "strcmp(bernd->user_id, bernd_userid) == 0"); // ???
     1.6      TEST_ASSERT_MSG((!bernd->me), "!bernd->me"); 
     1.7 -    TEST_ASSERT_MSG((bernd->comm_type == PEP_ct_key_expired), "bernd->comm_type == PEP_ct_key_expired");
     1.8 +    TEST_ASSERT_MSG((bernd->comm_type == PEP_ct_key_not_found), tl_ct_string(bernd->comm_type));
     1.9      TEST_ASSERT_MSG((strcmp(bernd->address, bernd_address) == 0), "strcmp(bernd->address, bernd_address) == 0");
    1.10  
    1.11 -    cout << "PASS: update_identity() correctly rejected expired key with PEP_KEY_UNSUITABLE and PEP_ct_key_expired" << endl << endl;
    1.12 +    cout << "PASS: update_identity() correctly rejected expired key with PEP_KEY_UNSUITABLE and PEP_ct_key_not_found" << endl << endl;
    1.13      free_identity(bernd);
    1.14      
    1.15  }