Make test_process_rest_api less fragile

This commit is contained in:
Michael Vines 2020-09-23 23:49:45 -07:00
parent 93ed0ab2bb
commit 7526bb96f3
1 changed files with 1 additions and 5 deletions

View File

@ -480,11 +480,7 @@ mod tests {
assert_eq!(None, process_rest(&bank_forks, "not-a-supported-rest-api"));
assert_eq!(
Some("0.000010129".to_string()),
process_rest(&bank_forks, "/v0/circulating-supply")
);
assert_eq!(
Some("0.000010129".to_string()),
process_rest(&bank_forks, "/v0/circulating-supply"),
process_rest(&bank_forks, "/v0/total-supply")
);
}