From 0f26638008d54dda4ec8d25786a6f8549e7dd1c5 Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Fri, 12 Jul 2024 19:15:05 +0200 Subject: [PATCH] fix rebuild-api test when api token is configured locally --- src/web/builds.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/web/builds.rs b/src/web/builds.rs index 2196ac858..51b46ae50 100644 --- a/src/web/builds.rs +++ b/src/web/builds.rs @@ -427,6 +427,7 @@ mod tests { #[test] fn build_trigger_rebuild_missing_config() { wrapper(|env| { + env.override_config(|config| config.cratesio_token = None); env.fake_release().name("foo").version("0.1.0").create()?; {