Skip to content

Commit

Permalink
Update codes according to the new akka version.
Browse files Browse the repository at this point in the history
  • Loading branch information
style95 committed Jul 12, 2021
1 parent fcb1248 commit 65cd5dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import java.{lang, util}
import akka.actor.ActorRef
import akka.actor.FSM.{CurrentState, StateTimeout, SubscribeTransitionCallBack, Transition}
import akka.pattern.ask
import akka.stream.ActorMaterializer
import akka.stream.Materializer
import akka.testkit.{ImplicitSender, TestActor, TestFSMRef, TestKit, TestProbe}
import akka.util.Timeout
import com.google.protobuf.ByteString
Expand Down Expand Up @@ -84,7 +84,7 @@ class MemoryQueueTests
Client.forEndpoints(hostAndPorts).withPlainText().build()
}

implicit val materializer: ActorMaterializer = ActorMaterializer()
implicit val materializer = Materializer

def registerCallback(c: ActorRef) = {
c ! SubscribeTransitionCallBack(testActor)
Expand Down

0 comments on commit 65cd5dc

Please sign in to comment.