diff --git a/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala b/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala index 31bbf999a5..82c7aeae35 100644 --- a/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala +++ b/akka-cluster-typed/src/test/scala/akka/cluster/typed/ActorSystemSpec.scala @@ -76,12 +76,14 @@ class ActorSystemSpec akka.remote.artery.canonical.port = 0 akka.remote.artery.canonical.hostname = 127.0.0.1 - serializers { - test = "akka.cluster.typed.ActorSystemSpec$$TestSerializer" + akka.actor { + serializers { + test = "akka.cluster.typed.ActorSystemSpec$TestSerializer" } serialization-bindings { - "akka.cluster.typed.ActorSystemSpec$$TestMessage" = test + "akka.cluster.typed.ActorSystemSpec$TestMessage" = test } + } """) def system[T](behavior: Behavior[T], name: String) = ActorSystem(behavior, name, config) def suite = "adapter"