summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/ci_test.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ci_test.rs b/tests/ci_test.rs
index 3d98f71..6d6077f 100644
--- a/tests/ci_test.rs
+++ b/tests/ci_test.rs
@@ -243,6 +243,14 @@ async fn repo(api: &forgejo_api::Forgejo) -> eyre::Result<()> {
== Some(b"This is a file!"),
"couldn't download attachment"
);
+ ensure!(
+ api.download_zip_archive("TestingAdmin", "test", "v1.0").await?.is_some(),
+ "couldn't download zip archive"
+ );
+ ensure!(
+ api.download_tarball_archive("TestingAdmin", "test", "v1.0").await?.is_some(),
+ "couldn't download tape archive"
+ );
api.delete_release_attachment("TestingAdmin", "test", release.id, attachment.id)
.await