summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2023-12-11 19:22:15 +0100
committerCyborus <cyborus@cyborus.xyz>2023-12-11 21:51:36 +0100
commit440081afaaa9e40e96c8facb98c033aa406ff348 (patch)
treead9056c13d85c327483c279705177133fe1321ca /tests
parentensure repo allows pull requests (diff)
downloadforgejo-api-440081afaaa9e40e96c8facb98c033aa406ff348.tar.xz
forgejo-api-440081afaaa9e40e96c8facb98c033aa406ff348.zip
update ci to forgejo 1.21.2
Diffstat (limited to 'tests')
-rw-r--r--tests/ci_test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ci_test.rs b/tests/ci_test.rs
index d8bb859..9388d3e 100644
--- a/tests/ci_test.rs
+++ b/tests/ci_test.rs
@@ -80,9 +80,9 @@ async fn repo(api: &forgejo_api::Forgejo) -> eyre::Result<()> {
};
let remote_repo = api.create_repo(repo_opt).await?;
ensure!(remote_repo.has_pull_requests, "repo does not accept pull requests");
- tokio::time::sleep(std::time::Duration::from_secs(3)).await;
ensure!(remote_repo.owner.login == "TestingAdmin", "repo owner is not \"TestingAdmin\"");
ensure!(remote_repo.name == "test", "repo owner is not \"test\"");
+ tokio::time::sleep(std::time::Duration::from_secs(3)).await;
let mut remote_url = remote_repo.clone_url.clone();
remote_url.set_username("TestingAdmin").unwrap();