From 7497a871cafcbdcebe9782608f4d509579c202b5 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Tue, 20 Aug 2024 17:25:07 +0200 Subject: [PATCH] Add missing installation for test payloads --- .../quarkus/bot/it/CheckPullRequestContributionRulesTest.java | 4 ++++ .../io/quarkus/bot/it/CheckTriageBackportContextTest.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/test/java/io/quarkus/bot/it/CheckPullRequestContributionRulesTest.java b/src/test/java/io/quarkus/bot/it/CheckPullRequestContributionRulesTest.java index 0c842a4..5566823 100644 --- a/src/test/java/io/quarkus/bot/it/CheckPullRequestContributionRulesTest.java +++ b/src/test/java/io/quarkus/bot/it/CheckPullRequestContributionRulesTest.java @@ -269,6 +269,10 @@ private static String getSamplePullRequestPayload() { "sender": { "login": "TestUser", "id": 8484741 + }, + "installation" : { + "id" : 28125889, + "node_id" : "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjgxMjU4ODk=" } } """; diff --git a/src/test/java/io/quarkus/bot/it/CheckTriageBackportContextTest.java b/src/test/java/io/quarkus/bot/it/CheckTriageBackportContextTest.java index ddcaebd..415e4b5 100644 --- a/src/test/java/io/quarkus/bot/it/CheckTriageBackportContextTest.java +++ b/src/test/java/io/quarkus/bot/it/CheckTriageBackportContextTest.java @@ -55,6 +55,10 @@ private static String getSampleIssueLabelTriageBackportPayload() { }, "sender": { "login": "test-github-user" + }, + "installation" : { + "id" : 28125889, + "node_id" : "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjgxMjU4ODk=" } }"""; }