fix: another test should create valid urls
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 9m39s
Test / build (map[name:stable]) (push) Successful in 11m15s
Release Please / Release-plz (push) Successful in 16s
Release Please / Docker image (push) Successful in 2m25s

This commit is contained in:
Paul Campbell 2025-01-26 19:51:03 +00:00
parent 1ef76dd7be
commit 17031f4d23

View file

@ -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(),