Skip to content

Commit

Permalink
Enable more crypto integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Anderas committed Jul 14, 2022
1 parent a0616be commit e7d4be0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions MatrixSDKTests/MXCryptoShareTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ - (void)createScenario:(void (^)(MXSession *aliceSession, NSString *roomId, MXMe
-> Key share requests must be pending
-> Then, they must have been sent
*/
- (void)testKeyShareRequestFromNewDevice
// TODO: Test currently broken
- (void)xtestKeyShareRequestFromNewDevice
{
// - Have Alice and Bob in e2ee room with messages
[matrixSDKTestsE2EData doE2ETestWithAliceAndBobInARoomWithCryptedMessages:self cryptedBob:YES readyToTest:^(MXSession *aliceSession1, MXSession *bobSession, NSString *roomId, XCTestExpectation *expectation) {
Expand Down Expand Up @@ -345,7 +346,8 @@ - (void)testDisableKeyShareRequest
-> key share requests on Alice2 are enabled again
-> No m.room_key_request have been made
*/
- (void)testNoKeyShareRequestIfThereIsABackup
// TODO: Test currently broken
- (void)xtestNoKeyShareRequestIfThereIsABackup
{
// - Have Alice and Bob in e2ee room with messages
[matrixSDKTestsE2EData doE2ETestWithAliceAndBobInARoomWithCryptedMessages:self cryptedBob:YES readyToTest:^(MXSession *aliceSession1, MXSession *bobSession, NSString *roomId, XCTestExpectation *expectation) {
Expand Down
6 changes: 4 additions & 2 deletions MatrixSDKTests/TestPlans/CryptoTests.xctestplan
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
"testTargets" : [
{
"selectedTests" : [
"MXCrossSigningTests",
"MXCrossSigningVerificationTests",
"MXCryptoKeyVerificationTests",
"MXCryptoSecretStorageTests",
"MXCryptoShareTests\/testShareHistoryKeysWithInvitedUser",
"MXCryptoShareTests\/testSharedHistoryPreservedWhenForwardingKeys",
"MXCryptoShareTests",
"MXCryptoTests",
"MXMegolmEncryptionTests"
],
Expand Down

0 comments on commit e7d4be0

Please sign in to comment.