diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-02-09 16:58:44 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-02-09 20:37:43 +0100 |
commit | cb1f2d9ae86223c18af43885eb62800963496e34 (patch) | |
tree | 7ea352e52f56575b0a86a608739684a0330d3aba /tests | |
parent | more general dereferencing (diff) | |
download | forgejo-api-cb1f2d9ae86223c18af43885eb62800963496e34.tar.xz forgejo-api-cb1f2d9ae86223c18af43885eb62800963496e34.zip |
strongly typed header returns
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ci_test.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ci_test.rs b/tests/ci_test.rs index 3435ac5..1421300 100644 --- a/tests/ci_test.rs +++ b/tests/ci_test.rs @@ -168,6 +168,16 @@ async fn repo() { .await .is_ok(); assert!(!is_merged, "pr should not yet be merged"); + let pr_files_query = RepoGetPullRequestFilesQuery { + skip_to: None, + whitespace: None, + page: None, + limit: None, + }; + let (_, _) = api + .repo_get_pull_request_files("TestingAdmin", "test", pr.number.unwrap(), pr_files_query) + .await + .unwrap(); let merge_opt = MergePullRequestOption { r#do: "merge".into(), merge_commit_id: None, |