Skip to content

Commit 4f9a652

Browse files
committed
Test injecting DynamicGraphQLClient with RawEvent
1 parent 089c63d commit 4f9a652

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

integration-tests/app/src/main/java/io/quarkiverse/githubapp/it/app/RawEventListener.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66

77
import io.quarkiverse.githubapp.GitHubEvent;
88
import io.quarkiverse.githubapp.event.RawEvent;
9+
import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClient;
910

1011
public class RawEventListener {
1112

12-
void testRawEventListenedTo(@RawEvent(event = "issues", action = "opened") GitHubEvent gitHubEvent, GitHub gitHub)
13-
throws IOException {
13+
void testRawEventListenedTo(@RawEvent(event = "issues", action = "opened") GitHubEvent gitHubEvent, GitHub gitHub,
14+
DynamicGraphQLClient graphQLClient) throws IOException {
1415
assert gitHubEvent.getEvent().equals("issues");
1516
assert gitHubEvent.getAction().equals("opened");
1617

0 commit comments

Comments
 (0)