radicle/test: Don't hard-code "radicle.xyz"
This commit is contained in:
parent
2127782b74
commit
e2c476a387
|
|
@ -489,7 +489,7 @@ mod test {
|
|||
) -> git::Oid {
|
||||
let sig = git::raw::Signature::new(
|
||||
"anonymous",
|
||||
"anonymous@radicle.xyz",
|
||||
"anonymous@radicle.example.com",
|
||||
&git::raw::Time::new(0, 0),
|
||||
)
|
||||
.unwrap();
|
||||
|
|
|
|||
|
|
@ -784,7 +784,7 @@ mod test {
|
|||
#[test]
|
||||
fn test_config() {
|
||||
let cfg = json::from_value::<Config>(json::json!({
|
||||
"publicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path",
|
||||
"publicExplorer": "https://app.radicle.example.com/nodes/$host/$rid$path",
|
||||
"preferredSeeds": [],
|
||||
"web": {
|
||||
"pinned": {
|
||||
|
|
@ -800,8 +800,8 @@ mod test {
|
|||
"listen": [],
|
||||
"peers": { "type": "dynamic", "target": 8 },
|
||||
"connect": [
|
||||
"z6Mkmqogy2qEM2ummccUthFEaaHvyYmYBYh3dbe9W4ebScxo@rosa.radicle.xyz:8776",
|
||||
"z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7@iris.radicle.xyz:8776"
|
||||
"z6MkmJzKhSjQz1USfh8NBtaAFyz5gJace9eBV9yFcfMY5BN5@a.radicle.example.com:8776",
|
||||
"z6MkrUZHwJD3pqerEBugSZRxDFdVqKnMUbyPHcFe5gkfFvTe@b.radicle.example.com:8776"
|
||||
],
|
||||
"externalAddresses": [ "seed.radicle.example.com:8776" ],
|
||||
"db": { "journalMode": "wal" },
|
||||
|
|
|
|||
|
|
@ -1093,7 +1093,8 @@ mod tests {
|
|||
let (rid, _, working, _) =
|
||||
fixtures::project(tmp.path().join("project"), &storage, &signer).unwrap();
|
||||
let stored = storage.repository(rid).unwrap();
|
||||
let sig = git2::Signature::now(&alice.to_string(), "anonymous@radicle.xyz").unwrap();
|
||||
let sig =
|
||||
git2::Signature::now(&alice.to_string(), "anonymous@radicle.example.com").unwrap();
|
||||
let head = working.head().unwrap().peel_to_commit().unwrap();
|
||||
|
||||
git::commit(
|
||||
|
|
|
|||
|
|
@ -298,7 +298,7 @@ impl Arbitrary for Address {
|
|||
cyphernet::addr::HostName::Ip(net::IpAddr::V6(net::Ipv6Addr::from(octets)))
|
||||
}
|
||||
AddressType::Dns => cyphernet::addr::HostName::Dns(
|
||||
g.choose(&["iris.radicle.xyz", "rosa.radicle.xyz"])
|
||||
g.choose(&["iris.radicle.example.com", "rosa.radicle.example.com"])
|
||||
.unwrap()
|
||||
.to_string(),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue