From 5297bfd4b96ebe446404c0a34d66bc263cb847ef Mon Sep 17 00:00:00 2001 From: Nick Burgan-Illig Date: Tue, 16 Jul 2024 19:10:45 +0000 Subject: [PATCH] (PE-38293) Fix test for modified error message with new Bouncy Castle --- .../services/request_handler/request_handler_core_test.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/puppetlabs/services/request_handler/request_handler_core_test.clj b/test/unit/puppetlabs/services/request_handler/request_handler_core_test.clj index 8f189402a..b3e4d9cd2 100644 --- a/test/unit/puppetlabs/services/request_handler/request_handler_core_test.clj +++ b/test/unit/puppetlabs/services/request_handler/request_handler_core_test.clj @@ -274,7 +274,7 @@ (testing "Bad certificate content" (is (thrown+? [:kind :bad-request :msg (str "Unable to parse x-client-cert into " - "certificate: -----END CERTIFICATE not found")] + "certificate: -----END CERTIFICATE----- not found")] (jruby-request-with-client-cert-header "-----BEGIN%20CERTIFICATE-----%0AM")))) (testing "No certificate in content"