From 0e49166fba7235ec881471b728ce510c2ac0add8 Mon Sep 17 00:00:00 2001 From: sheldy <85823514+sheldygg@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:11:21 +0200 Subject: [PATCH] Fix nats tests after #1751 (#1753) * In case if core-subscriber receive a JetStream message. * Remove default value and add tests * Fix nats tests after #1751 --- faststream/nats/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faststream/nats/testing.py b/faststream/nats/testing.py index c181377fd4..011629093b 100644 --- a/faststream/nats/testing.py +++ b/faststream/nats/testing.py @@ -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)