Skip to content

Commit

Permalink
chore: increse code coverage (#176)
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Gonzalez <113917899+cristianIOHK@users.noreply.github.com>
  • Loading branch information
cristianIOHK committed Aug 27, 2024
1 parent 612c61f commit aefe60d
Show file tree
Hide file tree
Showing 2 changed files with 1,061 additions and 266 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private fun Url.Companion.parse(str: String): Url? {
* EdgeAgent class is responsible for handling the connection to other agents in the network using a provided Mediator
* Service Endpoint and seed data.
*/
class EdgeAgent {
open class EdgeAgent {
var state: State = State.STOPPED
private set(value) {
field = value
Expand All @@ -158,7 +158,7 @@ class EdgeAgent {

private val edgeAgentScope: CoroutineScope = CoroutineScope(Dispatchers.Default)
private val api: Api
private var connectionManager: ConnectionManager
internal var connectionManager: ConnectionManager
private var logger: PrismLogger
private val agentOptions: AgentOptions

Expand Down Expand Up @@ -406,7 +406,7 @@ class EdgeAgent {
* @return A new [DID].
*/
@JvmOverloads
suspend fun createNewPeerDID(
open suspend fun createNewPeerDID(
services: Array<DIDDocument.Service> = emptyArray(),
updateMediator: Boolean
): DID {
Expand Down
Loading

0 comments on commit aefe60d

Please sign in to comment.