summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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();