test/src/engine_tests/MessageTwoPointOhTests.cc
branchENGINE-448
changeset 3254 6e7f6bc9460a
parent 3063 33907822c832
child 3270 d8aea79654c3
child 3277 fe1e94372261
     1.1 --- a/test/src/engine_tests/MessageTwoPointOhTests.cc	Mon Jan 28 14:04:12 2019 +0100
     1.2 +++ b/test/src/engine_tests/MessageTwoPointOhTests.cc	Tue Jan 29 19:19:30 2019 +0100
     1.3 @@ -39,12 +39,12 @@
     1.4  
     1.5      PEP_STATUS statuspub = import_key(session, alice_pub_key.c_str(), alice_pub_key.length(), NULL);
     1.6      PEP_STATUS statuspriv = import_key(session, alice_priv_key.c_str(), alice_priv_key.length(), NULL);
     1.7 -    TEST_ASSERT_MSG((statuspub == PEP_STATUS_OK), "statuspub == PEP_STATUS_OK");
     1.8 -    TEST_ASSERT_MSG((statuspriv == PEP_STATUS_OK), "statuspriv == PEP_STATUS_OK");
     1.9 +    TEST_ASSERT_MSG((statuspub == PEP_KEY_IMPORTED), "statuspub == PEP_STATUS_OK");
    1.10 +    TEST_ASSERT_MSG((statuspriv == PEP_KEY_IMPORTED), "statuspriv == PEP_STATUS_OK");
    1.11      statuspub = import_key(session, carol_pub_key.c_str(), carol_pub_key.length(), NULL);
    1.12      statuspriv = import_key(session, carol_priv_key.c_str(), carol_priv_key.length(), NULL);
    1.13 -    TEST_ASSERT_MSG((statuspub == PEP_STATUS_OK), "statuspub == PEP_STATUS_OK");
    1.14 -    TEST_ASSERT_MSG((statuspriv == PEP_STATUS_OK), "statuspriv == PEP_STATUS_OK");
    1.15 +    TEST_ASSERT_MSG((statuspub == PEP_KEY_IMPORTED), "statuspub == PEP_STATUS_OK");
    1.16 +    TEST_ASSERT_MSG((statuspriv == PEP_KEY_IMPORTED), "statuspriv == PEP_STATUS_OK");
    1.17  
    1.18      cout << "creating message…\n";
    1.19      pEp_identity* alice = new_identity("pep.test.alice@pep-project.org", "4ABE3AAF59AC32CFE4F86500A9411D176FF00E97", PEP_OWN_USERID, "Alice Test");