Corrected expected status return ENGINE-487
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Wed, 23 Jan 2019 11:16:17 +0100
branchENGINE-487
changeset 32319e0cc2126b5e
parent 3230 cf7c04a22200
child 3232 8a7ab7c488b8
child 3233 e3ce7cb6659c
Corrected expected status return
test/src/engine_tests/SubkeyRatingEvalTests.cc
     1.1 --- a/test/src/engine_tests/SubkeyRatingEvalTests.cc	Tue Jan 22 12:47:24 2019 +0100
     1.2 +++ b/test/src/engine_tests/SubkeyRatingEvalTests.cc	Wed Jan 23 11:16:17 2019 +0100
     1.3 @@ -45,7 +45,7 @@
     1.4      slurp_and_import_key(session, "test_keys/pub/subkey_select_0-0x4929DC45_pub.asc");
     1.5      PEP_comm_type ct = PEP_ct_unknown;
     1.6      PEP_STATUS status = get_key_rating(session, "F0D03C842C0770C2C2A9FEAF2A1ED9814929DC45", &ct);
     1.7 -    TEST_ASSERT_MSG(status == PEP_KEY_UNSUITABLE, tl_status_string(status));
     1.8 +    TEST_ASSERT_MSG(status == PEP_STATUS_OK, tl_status_string(status));
     1.9      TEST_ASSERT_MSG(ct = PEP_ct_key_b0rken, tl_ct_string(ct));
    1.10      TEST_ASSERT(true);
    1.11  }