diff --git a/bitchatTests/Integration/IntegrationTests.swift b/bitchatTests/Integration/IntegrationTests.swift index 21c213b6..32a14c9f 100644 --- a/bitchatTests/Integration/IntegrationTests.swift +++ b/bitchatTests/Integration/IntegrationTests.swift @@ -208,7 +208,7 @@ final class IntegrationTests: XCTestCase { if packet.type == 0x01 { plainCount += 1 } else if packet.type == 0x02 { - if let decrypted = try? self.noiseManagers["Bob"]!.decrypt(packet.payload, from: TestConstants.testPeerID1) { + if let _ = try? self.noiseManagers["Bob"]!.decrypt(packet.payload, from: TestConstants.testPeerID1) { encryptedCount += 1 } }