Remove MockBluetoothMeshService (#777)

This commit is contained in:
Islam
2025-10-09 23:47:01 +02:00
committed by GitHub
parent d994ccf012
commit d371131ad5
2 changed files with 2 additions and 16 deletions
@@ -12,7 +12,7 @@ import CryptoKit
final class IntegrationTests: XCTestCase { final class IntegrationTests: XCTestCase {
var nodes: [String: MockBluetoothMeshService] = [:] var nodes: [String: MockBLEService] = [:]
var noiseManagers: [String: NoiseSessionManager] = [:] var noiseManagers: [String: NoiseSessionManager] = [:]
private var mockKeychain: MockKeychain! private var mockKeychain: MockKeychain!
@@ -588,7 +588,7 @@ final class IntegrationTests: XCTestCase {
// MARK: - Helper Methods // MARK: - Helper Methods
private func createNode(_ name: String, peerID: PeerID) { private func createNode(_ name: String, peerID: PeerID) {
let node = MockBluetoothMeshService() let node = MockBLEService()
node.myPeerID = peerID node.myPeerID = peerID
node.mockNickname = name node.mockNickname = name
nodes[name] = node nodes[name] = node
@@ -1,14 +0,0 @@
//
// MockBluetoothMeshService.swift
// bitchatTests
//
// This is free and unencumbered software released into the public domain.
// For more information, see <https://unlicense.org>
//
import Foundation
import CoreBluetooth
@testable import bitchat
// Compatibility wrapper for old tests - please use MockBLEService directly
typealias MockBluetoothMeshService = MockBLEService