You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/03/24 07:10:42 UTC

[camel-quarkus] branch main updated: Enable back Telegram mp3, mp4 and pdf integration tests Fixes #4513

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

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new 155a0695b3 Enable back Telegram mp3, mp4 and pdf integration tests Fixes #4513
155a0695b3 is described below

commit 155a0695b383de32b3300fb3386588a6614e1aca
Author: Zineb Bendhiba <be...@gmail.com>
AuthorDate: Thu Mar 23 16:59:48 2023 +0100

    Enable back Telegram mp3, mp4 and pdf integration tests
    Fixes #4513
---
 .../org/apache/camel/quarkus/component/telegram/it/TelegramTest.java  | 4 ----
 pom.xml                                                               | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/integration-tests/telegram/src/test/java/org/apache/camel/quarkus/component/telegram/it/TelegramTest.java b/integration-tests/telegram/src/test/java/org/apache/camel/quarkus/component/telegram/it/TelegramTest.java
index 8da35c824d..9f2af1af52 100644
--- a/integration-tests/telegram/src/test/java/org/apache/camel/quarkus/component/telegram/it/TelegramTest.java
+++ b/integration-tests/telegram/src/test/java/org/apache/camel/quarkus/component/telegram/it/TelegramTest.java
@@ -35,7 +35,6 @@ import org.apache.camel.quarkus.test.TrustStoreResource;
 import org.apache.camel.quarkus.test.wiremock.MockServer;
 import org.jboss.logging.Logger;
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
 
 import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
 import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
@@ -112,7 +111,6 @@ public class TelegramTest {
     }
 
     @Test
-    @EnabledIfEnvironmentVariable(named = "TELEGRAM_AUTHORIZATION_TOKEN", matches = ".+") //https://github.com/apache/camel-quarkus/issues/4513
     public void mp3() throws IOException {
         try (InputStream in = getClass().getClassLoader().getResourceAsStream("camel-quarkus-rocks.mp3")) {
             /* Send a message */
@@ -126,7 +124,6 @@ public class TelegramTest {
     }
 
     @Test
-    @EnabledIfEnvironmentVariable(named = "TELEGRAM_AUTHORIZATION_TOKEN", matches = ".+") //https://github.com/apache/camel-quarkus/issues/4513
     public void mp4() throws IOException {
         try (InputStream in = getClass().getClassLoader().getResourceAsStream("camel-quarkus-rocks.mp4")) {
             /* Send a message */
@@ -140,7 +137,6 @@ public class TelegramTest {
     }
 
     @Test
-    @EnabledIfEnvironmentVariable(named = "TELEGRAM_AUTHORIZATION_TOKEN", matches = ".+") //https://github.com/apache/camel-quarkus/issues/4513
     public void pdf() throws IOException {
         try (InputStream in = getClass().getClassLoader().getResourceAsStream("camel-quarkus-rocks.pdf")) {
             /* Send a message */
diff --git a/pom.xml b/pom.xml
index 9e709eb3b6..0f1e0b5dd6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -172,7 +172,7 @@
         <slf4j-log4j12.version>1.7.30</slf4j-log4j12.version><!-- Mess in the transitive dependencies of hbase-testing-util -->
         <sshd.version>2.9.2</sshd.version><!-- @sync io.quarkus:quarkus-bom:${quarkus.version} dep:org.apache.sshd:sshd-common -->
         <stax2.version>4.2</stax2.version>
-        <wiremock.version>3.0.0-beta-2</wiremock.version>
+        <wiremock.version>3.0.0-beta-4</wiremock.version>
         <zt-exec.version>1.12</zt-exec.version>
 
         <!-- Tooling dependency versions (keep sorted alphabetically) -->