Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle/test: Don't hard-code "radicle.xyz"
Lorenz Leutgeb committed 8 months ago
commit e2c476a387d2f5f682b6e00e3dab02433e7000a3
parent 2127782b742e40cf4e604d6443c55d5da996a6e1
4 files changed +7 -6
modified crates/radicle-cli/src/terminal/patch.rs
@@ -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();
modified crates/radicle/src/profile.rs
@@ -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" },
modified crates/radicle/src/storage/git.rs
@@ -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(
modified crates/radicle/src/test/arbitrary.rs
@@ -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(),
            ),