Fix Scala 3.3 compile issues

This commit is contained in:
Matthew de Detrich 2023-06-13 20:30:38 +02:00 committed by Matthew de Detrich
parent fea4c74d03
commit ba8922c9ba

View file

@ -19,7 +19,6 @@ import scala.concurrent.duration._
import PojoSRTestSupport.bundle
import de.kalpatec.pojosr.framework.launch.BundleDescriptor
import language.postfixOps
import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec
import test.{ PingPongActorSystemActivator, RuntimeNameActorSystemActivator, TestActivators }
@ -55,7 +54,7 @@ class PingPongActorSystemActivatorTest extends AnyWordSpec with Matchers with Po
val system = serviceForType[ActorSystem]
val actor = system.actorSelection("/user/pong")
implicit val timeout = Timeout(5 seconds)
implicit val timeout: Timeout = Timeout(5.seconds)
Await.result(actor ? Ping, timeout.duration) should be(Pong)
}
}