Skip to content

Commit

Permalink
Integration test passing - updated request parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
pavitthrap committed Dec 21, 2021
1 parent b105913 commit dc34f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testnet/stacks-node/src/tests/integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ fn integration_test_get_info() {
assert_eq!(res.text().unwrap(), "No contract analysis found or trait definition not found");

// evaluate check for explicit compliance where tip is the chain tip of the first block (contract DNE at that block), but tip is "latest"
let path = format!("{}/v2/traits/{}/{}/{}/{}/{}?tip=753d84de5c475a85abd0eeb3ac87da03ff0f794507b60a3f66356425bc1dedaf&tip=latest", &http_origin, &contract_addr, "impl-trait-contract", &contract_addr, "get-info", "trait-1");
let path = format!("{}/v2/traits/{}/{}/{}/{}/{}?tip=latest", &http_origin, &contract_addr, "impl-trait-contract", &contract_addr, "get-info", "trait-1");
let res = client.get(&path).send().unwrap().json::<GetIsTraitImplementedResponse>().unwrap();
eprintln!("Test: GET {}", path);
assert!(res.is_implemented);
Expand Down

0 comments on commit dc34f9e

Please sign in to comment.