Remove MockBluetoothMeshService (#777)

This commit is contained in:
Islam 2025-10-09 22:47:01 +01:00 committed by GitHub
parent d994ccf012
commit d371131ad5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 16 deletions

View File

@ -12,7 +12,7 @@ import CryptoKit
final class IntegrationTests: XCTestCase {
var nodes: [String: MockBluetoothMeshService] = [:]
var nodes: [String: MockBLEService] = [:]
var noiseManagers: [String: NoiseSessionManager] = [:]
private var mockKeychain: MockKeychain!
@ -588,7 +588,7 @@ final class IntegrationTests: XCTestCase {
// MARK: - Helper Methods
private func createNode(_ name: String, peerID: PeerID) {
let node = MockBluetoothMeshService()
let node = MockBLEService()
node.myPeerID = peerID
node.mockNickname = name
nodes[name] = node

View File

@ -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