Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatka committed Sep 6, 2023
1 parent 74ab420 commit 0e9676e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crates/cli/src/parse/blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ mod tests {

async fn block_token_test_helper(tests: Vec<(BlockTokenTest<'_>, bool)>) {
let (provider, mock) = Provider::mocked();
let fetcher = Fetcher { provider, semaphore: None, rate_limiter: None };
let fetcher =
Fetcher { provider, semaphore: None, rate_limiter: None, retry_strategy: None };
for (test, res) in tests {
match test {
BlockTokenTest::WithMock((token, expected, latest)) => {
Expand Down Expand Up @@ -343,7 +344,8 @@ mod tests {

async fn block_input_test_helper(tests: Vec<(BlockInputTest<'_>, bool)>) {
let (provider, mock) = Provider::mocked();
let fetcher = Fetcher { provider, semaphore: None, rate_limiter: None };
let fetcher =
Fetcher { provider, semaphore: None, rate_limiter: None, retry_strategy: None };
for (test, res) in tests {
match test {
BlockInputTest::WithMock((inputs, expected, latest)) => {
Expand Down Expand Up @@ -397,7 +399,8 @@ mod tests {

async fn block_number_test_helper(tests: Vec<(BlockNumberTest<'_>, bool)>) {
let (provider, mock) = Provider::mocked();
let fetcher = Fetcher { provider, semaphore: None, rate_limiter: None };
let fetcher =
Fetcher { provider, semaphore: None, rate_limiter: None, retry_strategy: None };
for (test, res) in tests {
match test {
BlockNumberTest::WithMock((block_ref, range_position, expected, latest)) => {
Expand Down

0 comments on commit 0e9676e

Please sign in to comment.