Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: increse code coverage #176

Merged
merged 5 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading