From 5a292e7fb9199b151f727f438abf0a5bd2123394 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Fri, 17 May 2013 15:32:40 +0200 Subject: [PATCH] davyJones should be sender, see #3366 --- akka-testkit/src/test/scala/akka/testkit/AkkaSpecSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-testkit/src/test/scala/akka/testkit/AkkaSpecSpec.scala b/akka-testkit/src/test/scala/akka/testkit/AkkaSpecSpec.scala index b2ed7e414e..db932d05e3 100644 --- a/akka-testkit/src/test/scala/akka/testkit/AkkaSpecSpec.scala +++ b/akka-testkit/src/test/scala/akka/testkit/AkkaSpecSpec.scala @@ -74,7 +74,7 @@ class AkkaSpecSpec extends WordSpec with MustMatchers { system.eventStream.subscribe(davyJones, classOf[DeadLetter]) val probe = new TestProbe(system) - probe.ref ! 42 + probe.ref.tell(42, davyJones) /* * this will ensure that the message is actually received, otherwise it * may happen that the system.stop() suspends the testActor before it had