diff --git a/src/forges/forgejo/tests.rs b/src/forges/forgejo/tests.rs index a415ada..6d9d005 100644 --- a/src/forges/forgejo/tests.rs +++ b/src/forges/forgejo/tests.rs @@ -759,6 +759,10 @@ mod forgejo { kxio::net::mock() } + pub fn a_hostname() -> String { + format!("{}.net", a_name()) + } + pub fn a_name() -> String { use rand::Rng; use std::iter; @@ -805,7 +809,7 @@ mod forgejo { pub fn a_forge_config() -> ForgeConfig { ForgeConfig::new( ForgeType::MockForge, - a_name(), + a_hostname(), a_name(), a_name(), maybe_a_number(),