diff --git a/akka-docs/src/test/scala/docs/persistence/query/PersistenceQueryDocSpec.scala b/akka-docs/src/test/scala/docs/persistence/query/PersistenceQueryDocSpec.scala index 790f74c7b1..e42c74d4cb 100644 --- a/akka-docs/src/test/scala/docs/persistence/query/PersistenceQueryDocSpec.scala +++ b/akka-docs/src/test/scala/docs/persistence/query/PersistenceQueryDocSpec.scala @@ -238,7 +238,7 @@ class PersistenceQueryDocSpec(s: String) extends AkkaSpec(s) { // assuming journal is able to work with numeric offsets we can: val blueThings: Source[EventEnvelope, NotUsed] = - readJournal.eventsByTag("blue") + readJournal.eventsByTag("blue", Offset.noOffset) // find top 10 blue things: val top10BlueThings: Future[Vector[Any]] =