From d1b359d2ad000da80134b0ea89610b9b2b139279 Mon Sep 17 00:00:00 2001 From: Martin Kouba Date: Mon, 11 Dec 2023 10:57:26 +0100 Subject: [PATCH] Fix some management tests - use the correct Singleton --- .../vertx/http/management/ManagementAndRootPathTest.java | 3 +-- .../quarkus/vertx/http/management/ManagementWithJksTest.java | 3 +-- .../http/management/ManagementWithMainServerDisabledTest.java | 3 +-- .../quarkus/vertx/http/management/ManagementWithP12Test.java | 3 +-- .../quarkus/vertx/http/management/ManagementWithPemTest.java | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementAndRootPathTest.java b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementAndRootPathTest.java index 1e9fe401909c9..7fc85520f8fb3 100644 --- a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementAndRootPathTest.java +++ b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementAndRootPathTest.java @@ -2,9 +2,8 @@ import java.util.function.Consumer; -import javax.inject.Singleton; - import jakarta.enterprise.event.Observes; +import jakarta.inject.Singleton; import org.hamcrest.Matchers; import org.jboss.shrinkwrap.api.asset.StringAsset; diff --git a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithJksTest.java b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithJksTest.java index 580fd44b27066..1a0827d198fb4 100644 --- a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithJksTest.java +++ b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithJksTest.java @@ -3,9 +3,8 @@ import java.io.File; import java.util.function.Consumer; -import javax.inject.Singleton; - import jakarta.enterprise.event.Observes; +import jakarta.inject.Singleton; import org.assertj.core.api.Assertions; import org.hamcrest.Matchers; diff --git a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithMainServerDisabledTest.java b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithMainServerDisabledTest.java index 9694283a305a9..13233ae9a8203 100644 --- a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithMainServerDisabledTest.java +++ b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithMainServerDisabledTest.java @@ -2,9 +2,8 @@ import java.util.function.Consumer; -import javax.inject.Singleton; - import jakarta.enterprise.event.Observes; +import jakarta.inject.Singleton; import org.hamcrest.Matchers; import org.jboss.shrinkwrap.api.asset.StringAsset; diff --git a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithP12Test.java b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithP12Test.java index 0f730779f0856..a8e55cedb5608 100644 --- a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithP12Test.java +++ b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithP12Test.java @@ -3,9 +3,8 @@ import java.io.File; import java.util.function.Consumer; -import javax.inject.Singleton; - import jakarta.enterprise.event.Observes; +import jakarta.inject.Singleton; import org.assertj.core.api.Assertions; import org.hamcrest.Matchers; diff --git a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithPemTest.java b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithPemTest.java index ef4b24d1638a1..bc86379e35909 100644 --- a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithPemTest.java +++ b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/management/ManagementWithPemTest.java @@ -3,9 +3,8 @@ import java.io.File; import java.util.function.Consumer; -import javax.inject.Singleton; - import jakarta.enterprise.event.Observes; +import jakarta.inject.Singleton; import org.assertj.core.api.Assertions; import org.hamcrest.Matchers;