You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/02/18 07:14:14 UTC

[camel] branch camel-3.x updated: Fixed test as an option was made secret

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.x by this push:
     new bbe6dd4a0cb Fixed test as an option was made secret
bbe6dd4a0cb is described below

commit bbe6dd4a0cb6ee700eb982988c5f7142dca356fc
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Feb 18 08:13:58 2023 +0100

    Fixed test as an option was made secret
---
 core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java b/core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java
index 635c183ba53..ea7781f6180 100644
--- a/core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java
+++ b/core/camel-util/src/test/java/org/apache/camel/util/URISupportTest.java
@@ -254,7 +254,7 @@ public class URISupportTest {
     public void testSanitizeAccessToken() throws Exception {
         String out1 = URISupport
                 .sanitizeUri("google-sheets-stream://spreadsheets?accessToken=MY_TOKEN&clientId=foo&clientSecret=MY_SECRET");
-        assertEquals("google-sheets-stream://spreadsheets?accessToken=xxxxxx&clientId=foo&clientSecret=xxxxxx", out1);
+        assertEquals("google-sheets-stream://spreadsheets?accessToken=xxxxxx&clientId=xxxxxx&clientSecret=xxxxxx", out1);
     }
 
     @Test