IOSAD-93 making at least a test for PEP_ILLEGAL_VALUE
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 16 May 2018 16:17:59 +0200
changeset 613f33d0b187aea
parent 612 be742db91ccb
child 614 f1bf3f2761dc
IOSAD-93 making at least a test for PEP_ILLEGAL_VALUE
pEpObjCTests/PEPSessionTest.m
     1.1 --- a/pEpObjCTests/PEPSessionTest.m	Wed May 16 16:17:58 2018 +0200
     1.2 +++ b/pEpObjCTests/PEPSessionTest.m	Wed May 16 16:17:59 2018 +0200
     1.3 @@ -1222,8 +1222,8 @@
     1.4                               encFormat:PEP_enc_PEP
     1.5                               flags:0
     1.6                               status:&status error:&error];
     1.7 -    XCTAssertEqual(status, PEP_STATUS_OK);
     1.8 -    XCTAssertNil(error);
     1.9 +    XCTAssertEqual(status, PEP_ILLEGAL_VALUE);
    1.10 +    XCTAssertNotNil(error);
    1.11      XCTAssertNil(encrypted);
    1.12  }
    1.13