Skip to content

Commit

Permalink
Fix nats tests after #1751 (#1753)
Browse files Browse the repository at this point in the history
* In case if core-subscriber receive a JetStream message.

* Remove default value and add tests

* Fix nats tests after #1751
  • Loading branch information
sheldygg authored Sep 2, 2024
1 parent 446a5ed commit 0e49166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faststream/nats/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class FakeProducer(NatsFastProducer):
def __init__(self, broker: NatsBroker) -> None:
self.broker = broker

default = NatsParser(pattern="")
default = NatsParser(pattern="", no_ack=False)
self._parser = resolve_custom_func(broker._parser, default.parse_message)
self._decoder = resolve_custom_func(broker._decoder, default.decode_message)

Expand Down

0 comments on commit 0e49166

Please sign in to comment.