refactor(test): Migrate core modules from MockK to Mokkery

This commit is contained in:
James Rich 2026-03-18 15:41:04 -05:00
parent 3c5d15cc5d
commit 7522d38fbc
79 changed files with 539 additions and 1481 deletions

View file

@ -21,7 +21,7 @@ import androidx.room.PrimaryKey
import org.meshtastic.core.model.MyNodeInfo
@Entity(tableName = "my_node")
data class MyNodeEntity(
open class MyNodeEntity(
@PrimaryKey(autoGenerate = false) val myNodeNum: Int,
val model: String?,
val firmwareVersion: String?,
@ -39,7 +39,7 @@ data class MyNodeEntity(
val firmwareString: String
get() = "$model $firmwareVersion"
fun toMyNodeInfo() = MyNodeInfo(
open fun toMyNodeInfo() = MyNodeInfo(
myNodeNum = myNodeNum,
hasGPS = false,
model = model,