Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Feb 6, 2024
1 parent cbd42ca commit 4de0284
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ anyhow = "1.0"
thiserror = "1.0"
ethers = { version = "2.0.11", features = ["abigen"] }
ctor = "0.2"
lib-didethresolver = { path = "../../workspace-didethresolver/insipx/fetch-key-packages" }
lib-didethresolver = { path = "../../../workspace-didethresolver/insipx/fetch-key-package/lib" }
# lib-didethresolver = { git = "https://github.com/xmtp/didethresolver", branch = "main" }
gateway-types = { path = "./gateway-types" }
rustc-hex = "2.1"
Expand Down
9 changes: 5 additions & 4 deletions xps-gateway/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ async fn test_fetch_key_packages() -> Result<(), Error> {
let value = b"000000000000000000000000000000000000000000000000000000000000000000";
set_attribute(name, value.to_vec(), &me, &context.registry).await?;

let value = b"111111111111111111111111111111111111111111111111111111111111111111";
set_attribute(name, value.to_vec(), &me, &context.registry).await?;
// let value = b"111111111111111111111111111111111111111111111111111111111111111111";
// set_attribute(name, value.to_vec(), &me, &context.registry).await?;

let res = client
.fetch_key_packages(format!("0x{}", hex::encode(me.address())))
Expand All @@ -200,8 +200,9 @@ async fn test_fetch_key_packages() -> Result<(), Error> {
assert_eq!(
res.installation,
vec![
b"000000000000000000000000000000000000000000000000000000000000000000",
b"111111111111111111111111111111111111111111111111111111111111111111"
hex::decode(b"000000000000000000000000000000000000000000000000000000000000000000")
.unwrap(),
// b"111111111111111111111111111111111111111111111111111111111111111111"
]
);

Expand Down

0 comments on commit 4de0284

Please sign in to comment.