This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch 1.0.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 03e8e3beb47ed64ca231581c6c06855b4949685f Author: Lukas Lowinger <[email protected]> AuthorDate: Mon Aug 24 16:22:06 2020 +0200 Clean google drive in google sheets itest --- .../quarkus/component/google/it/GoogleComponentsTest.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/integration-tests/google/src/test/java/org/apache/camel/quarkus/component/google/it/GoogleComponentsTest.java b/integration-tests/google/src/test/java/org/apache/camel/quarkus/component/google/it/GoogleComponentsTest.java index 2287945..ee0ba6f 100644 --- a/integration-tests/google/src/test/java/org/apache/camel/quarkus/component/google/it/GoogleComponentsTest.java +++ b/integration-tests/google/src/test/java/org/apache/camel/quarkus/component/google/it/GoogleComponentsTest.java @@ -231,5 +231,18 @@ class GoogleComponentsTest { .then() .statusCode(200) .body(is(title + " Updated")); + + // Delete sheet via google-drive component + RestAssured.given() + .queryParam("fileId", sheetId) + .delete("/google-drive/delete") + .then() + .statusCode(204); + + RestAssured.given() + .queryParam("fileId", sheetId) + .get("/google-drive/read") + .then() + .statusCode(404); } }
