diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-11-27 13:21:23 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-11-27 13:21:23 +0100 |
commit | eafc1761c537371ae703a46a4ac715f60533f5e1 (patch) | |
tree | e42c01dbc2d3ee3cd9ef8ce60f07f08b0c88d7f9 /src/client.rs | |
parent | fa3e9812524fb2322adb181b01852f61980b3fe0 (diff) |
Ensure we actually create DAG links
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.rs b/src/client.rs index 5523666..2e3ae31 100644 --- a/src/client.rs +++ b/src/client.rs @@ -155,7 +155,7 @@ mod tests { let cid = client.post_text_node_with_datetime(Vec::new(), String::from("text"), datetime).await; assert!(cid.is_ok()); - assert_eq!(cid.unwrap().as_ref(), "bafyreifqa7jqsazxvl53jb6sflzbk4nkv4j7b5jos6hlzh4fq55bjbvk3m"); + assert_eq!(cid.unwrap().as_ref(), "bafyreifah3uwad7vm6o2zz3dsluscbjznmlgrgqqstk3s3djrdyvwgsulq"); } #[tokio::test] @@ -176,7 +176,7 @@ mod tests { let cid = client.post_text_node_with_datetime(Vec::new(), String::from(text), datetime.clone()).await; assert!(cid.is_ok()); let cid = cid.unwrap(); - assert_eq!(cid.as_ref(), "bafyreibenqhh2fqf33mdvm4b4k7kpymnyhuduebwdmaxraxttld7i2bbbi"); + assert_eq!(cid.as_ref(), "bafyreiazg25u4bbymcpebwuadr42lwvhpf7diohojeenmsf3rt42v3kbdy"); let node = client.get_node(cid).await; assert!(node.is_ok()); |