Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: FabioPinheiro <[email protected]>
  • Loading branch information
FabioPinheiro committed Aug 20, 2024
1 parent 64dc6f9 commit 5bcbe3a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ object ConnectionServiceNotifierSpec extends ZIOSpecDefault {
result = Expectation.value(record.copy(protocolState = ProtocolState.ConnectionResponseSent))
)

/*
private val inviteeExpectations =
MockConnectionService.ReceiveConnectionInvitation(
assertion = Assertion.anything,
Expand All @@ -67,7 +66,6 @@ object ConnectionServiceNotifierSpec extends ZIOSpecDefault {
assertion = Assertion.anything,
result = Expectation.value(record.copy(protocolState = ProtocolState.ConnectionResponseReceived))
)
*/

override def spec: Spec[TestEnvironment & Scope, Any] = {
suite("ConnectionServiceWithEventNotificationImpl")(
Expand Down Expand Up @@ -151,10 +149,10 @@ object ConnectionServiceNotifierSpec extends ZIOSpecDefault {
ZLayer.succeed(50) >>> EventNotificationServiceImpl.layer,
(
ConnectionRepositoryInMemory.layer ++
inviterExpectations.toLayer
inviteeExpectations.toLayer
) >>> ConnectionServiceNotifier.layer,
ZLayer.succeed(WalletAccessContext(WalletId.random))
) @@ TestAspect.ignore // TODO fix the test
)
)
}

Expand Down

0 comments on commit 5bcbe3a

Please sign in to comment.