diff --git a/test/ziggurat/messaging/consumer_test.clj b/test/ziggurat/messaging/consumer_test.clj index f70fceb4..4e5e10de 100644 --- a/test/ziggurat/messaging/consumer_test.clj +++ b/test/ziggurat/messaging/consumer_test.clj @@ -359,5 +359,5 @@ (testing "should return nil if message isn't nippy or proto serialized" (with-redefs [lb/publish (fn [_ _ _ _] nil)] (let [random-bytes-as-message-payload (.getBytes (String. "Hello World")) - converted-message-payload (consumer/convert-and-ack-message nil {:delivery-tag 1} random-bytes-as-message-payload false "default")] - (is (= converted-message-payload nil))))))) + converted-message-payload (consumer/convert-and-ack-message nil {:delivery-tag 1} random-bytes-as-message-payload false "default")] + (is (= converted-message-payload nil))))))) diff --git a/test/ziggurat/messaging/producer_test.clj b/test/ziggurat/messaging/producer_test.clj index f77d2898..b66602d8 100644 --- a/test/ziggurat/messaging/producer_test.clj +++ b/test/ziggurat/messaging/producer_test.clj @@ -232,7 +232,6 @@ (let [message-from-mq (rmq/get-message-from-retry-queue "default" 1)] (is (= (bytes-to-str message-from-mq) (bytes-to-str expected-message))))))) - (testing "message with available retry counts as 4 will be published to delay queue with suffix 2" (fix/with-queues {:default {:handler-fn #(constantly nil)}}