IOS-937 testOutgoingColors does not crash anymore
authorDirk Zimmermann <dirk@pep-project.org>
Fri, 09 Feb 2018 15:40:34 +0100
changeset 44310ec442ed3ad
parent 442 8de34676b7f5
child 444 2a0cd682d1f7
IOS-937 testOutgoingColors does not crash anymore
pEpObjCTests/PEPSessionTest.m
     1.1 --- a/pEpObjCTests/PEPSessionTest.m	Fri Feb 09 15:26:11 2018 +0100
     1.2 +++ b/pEpObjCTests/PEPSessionTest.m	Fri Feb 09 15:40:34 2018 +0100
     1.3 @@ -266,8 +266,8 @@
     1.4      clr = [session outgoingColorForMessage:msg];
     1.5      XCTAssertEqual(clr, PEP_rating_unencrypted);
     1.6  
     1.7 -    // Forget
     1.8 -    [session keyResetTrust:identBob];
     1.9 +    // Undon
    1.10 +    [session undoLastMistrust];
    1.11  
    1.12      // Back to yellow
    1.13      clr = [session outgoingColorForMessage:msg];