From c5c94c08a1613a2f5991e9700f40c2ee2dd40683 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Wed, 6 Sep 2023 10:55:03 -0400 Subject: [PATCH] tmp --- .../java/io/cryostat/CustomEventTemplate.java | 26 +++++++++++++++++++ src/test/java/io/cryostat/HealthTest.java | 1 - .../expressions/MatchExpressionsTest.java | 1 - 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 src/test/java/io/cryostat/CustomEventTemplate.java diff --git a/src/test/java/io/cryostat/CustomEventTemplate.java b/src/test/java/io/cryostat/CustomEventTemplate.java new file mode 100644 index 000000000..a24fa3127 --- /dev/null +++ b/src/test/java/io/cryostat/CustomEventTemplate.java @@ -0,0 +1,26 @@ +package io.cryostat; + +import static io.cryostat.TestUtils.givenBasicAuth; + +import org.eclipse.microprofile.openapi.models.media.XML; +import org.junit.Test; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; + +public class CustomEventTemplate { + + @BeforeEach + public void setup() { + + } + + @AfterEach + public void afterEach() { + + } + + @Test + public void testCustomEventTemplate() { + givenBasicAuth().get().contentType(XML).then().post().statusCode(200); + } +} diff --git a/src/test/java/io/cryostat/HealthTest.java b/src/test/java/io/cryostat/HealthTest.java index 373fc0916..bf530195b 100644 --- a/src/test/java/io/cryostat/HealthTest.java +++ b/src/test/java/io/cryostat/HealthTest.java @@ -17,7 +17,6 @@ import static io.restassured.RestAssured.when; import static org.hamcrest.CoreMatchers.is; -import static org.hamcrest.Matchers.*; import java.util.Optional; diff --git a/src/test/java/io/cryostat/expressions/MatchExpressionsTest.java b/src/test/java/io/cryostat/expressions/MatchExpressionsTest.java index 724aad986..0fbfd2227 100644 --- a/src/test/java/io/cryostat/expressions/MatchExpressionsTest.java +++ b/src/test/java/io/cryostat/expressions/MatchExpressionsTest.java @@ -17,7 +17,6 @@ import static io.cryostat.TestUtils.givenBasicAuth; import static io.restassured.RestAssured.given; -import static org.hamcrest.Matchers.*; import java.util.HashMap; import java.util.List;